P
Philosophaie
I would like to change to year portion from 2009 to 2010 in multiple cells.
The cells are formatted as Date with *3/14/2001 selected
for k = 1 to 5
Sheets("Sheet1").Cells(k,2)=Date
if Date.year = 2009 then Date.year=2010
next k
Date.year is incorrect. How do I change and save the date?
The cells are formatted as Date with *3/14/2001 selected
for k = 1 to 5
Sheets("Sheet1").Cells(k,2)=Date
if Date.year = 2009 then Date.year=2010
next k
Date.year is incorrect. How do I change and save the date?