Hi,
I have enclosed a simple macro to show what i am trying to do.
Basically, i have a column of dates. I assign this column of dates to an array............FYI: the array is a variant array and not a date array
So for example: In the excel file cell a date will be shown as "14-Jun-13". However, in the array it will show up as 41439.
So when i try to process this 41439 as a date and then paste it back into the worksheet i cant because the macro can not detect tha tthe 41439 as valid date.
Note: There could be other "non-date" related values in the first column..........if they are not valid date values then do not want to do anything with them.
I have enclosed a simple macro to show what i am trying to do.
Basically, i have a column of dates. I assign this column of dates to an array............FYI: the array is a variant array and not a date array
So for example: In the excel file cell a date will be shown as "14-Jun-13". However, in the array it will show up as 41439.
So when i try to process this 41439 as a date and then paste it back into the worksheet i cant because the macro can not detect tha tthe 41439 as valid date.
Note: There could be other "non-date" related values in the first column..........if they are not valid date values then do not want to do anything with them.