rarogersonkf
Programmer
Can someone explain why I get an run time error on the range statement please.
I'm creting a new sheet, naming it with the selection date
and beginning to format the cells.
The cells statements work fine but the range ends with an error.
Set NewSheet = Sheets.Add
NewSheet.Name = CStr(SelectDateNum)
Sheets(CStr(SelectDateNum)).Activate
Cells.ClearContents
Cells.ClearFormats
Range("A1").Activate
Any help is greatly appreciated.
Rob
I'm creting a new sheet, naming it with the selection date
and beginning to format the cells.
The cells statements work fine but the range ends with an error.
Set NewSheet = Sheets.Add
NewSheet.Name = CStr(SelectDateNum)
Sheets(CStr(SelectDateNum)).Activate
Cells.ClearContents
Cells.ClearFormats
Range("A1").Activate
Any help is greatly appreciated.
Rob