I am trying to build a application in Excel to place an active reading into the months in order to later on only pick values that have an active forms. For some reason is not stoping at the cell carrying the date selected in the cell. The values in the cell is selected from a dropbox (data validation), is has the same format. I do not understand what could possibly be wrong. Please help.
Code:
Sub PlaceStatusOnMonths()
Dim StopDate As Date
StopDate = ActiveCell.Value
Range("B2:B61").ClearContents
Cells(2, 1).Select
Do Until ActiveCell.Value = "StopDate"
If ActiveCell <> "StopDate" And ActiveCell <> "" Then
ActiveCell.Offset(0, 1) = "Active"
ActiveCell.Offset(1, 0).Range("A1").Select
End If
Loop
Range("D2").Select
End Sub
[\code]
Thanks,
RooSxl