You all have been a wonderful help so far...thank you!
The last and final step of my workbook is to set the cells within a column to the first of the following month. So, for example, this month, the cells would say "11/1/2011"...in November, the cells would say "12/1/2011"
I have no idea where to even begin and I know it has to be easy.
I'm thinking something along these lines but this only gives the current date:
The last and final step of my workbook is to set the cells within a column to the first of the following month. So, for example, this month, the cells would say "11/1/2011"...in November, the cells would say "12/1/2011"
I have no idea where to even begin and I know it has to be easy.
I'm thinking something along these lines but this only gives the current date:
Code:
Sub DataScrubber()
Dim i As Long
Dim LastRow As Long
LastRow = Range("A65536").End(xlUp).Row
Dim cStartRange As Range
Set cStartRange = Range("Q2", Cells(LastRow, 17))
For i = 1 To LastRow - 1
cStartRange.Cells.Value = Date
Next i
End Sub
Last edited: