HI guys,
I'm trying to create a loop based on the contents of a column. the date format in my column (say A) is: dd/mm/yyyy
My code is something like:
MyDate = cells(1,"A")
DateFormat = Format(MyDate, "dd/mm/yyyy")
while cells(1, "A") = DateFormat
My code here
Wend
Can someone tell me where i'm going wrong??
Many thanks!!!
E
I'm trying to create a loop based on the contents of a column. the date format in my column (say A) is: dd/mm/yyyy
My code is something like:
MyDate = cells(1,"A")
DateFormat = Format(MyDate, "dd/mm/yyyy")
while cells(1, "A") = DateFormat
My code here
Wend
Can someone tell me where i'm going wrong??
Many thanks!!!
E