T
Theresa
Hi:
I receive a file that contains a column of dates in a format that is not
recognized as a date: ie: 20080714. I am trying to create a macro to
insert the "/" at the required places.
Here is the code I am using:
Range("D3
" & Range("E65536").End(xlUp).Row).FormulaR1C1 = Trim(Left(C3, 4)
& "/" & Mid(C3, 5, 2) & "/" & Right(C3, 2))
I want to look at the data in Column E to see how far to go, then take the
date in Column C and put it in Column D in the correct format. When I run
the macro, all I get is // with nothing else.
What am I doing wrong?
Thanks,
I receive a file that contains a column of dates in a format that is not
recognized as a date: ie: 20080714. I am trying to create a macro to
insert the "/" at the required places.
Here is the code I am using:
Range("D3
" & Range("E65536").End(xlUp).Row).FormulaR1C1 = Trim(Left(C3, 4)& "/" & Mid(C3, 5, 2) & "/" & Right(C3, 2))
I want to look at the data in Column E to see how far to go, then take the
date in Column C and put it in Column D in the correct format. When I run
the macro, all I get is // with nothing else.
What am I doing wrong?
Thanks,