I have formulars in a sheet which workout the begin and end date of the weeks in a month. unforunatly this info almost spreads itself randomly across the page.
So I have a macro which copies the data and puts it in a cell. I use the number to create a week total in a report. with the code
wk1a = Range("D2").Value
Rows("36:36").Select
Selection.Replace What:="101", Replacement:=wk1a + 4, LookAt:=xlPart, SearchOrder:=xlByRows,
but the end and begin date need to be numbers and not dates for this to work.
does anyone know how?!?
Thx
Terry
So I have a macro which copies the data and puts it in a cell. I use the number to create a week total in a report. with the code
wk1a = Range("D2").Value
Rows("36:36").Select
Selection.Replace What:="101", Replacement:=wk1a + 4, LookAt:=xlPart, SearchOrder:=xlByRows,
but the end and begin date need to be numbers and not dates for this to work.
does anyone know how?!?
Thx
Terry