changing date format

G

Guest

I have a report that I download into Excel. The report has dates for many
months. The current date format is ymmdd (ie 60530) and I'd like to convert
it to an easier to read format like 05/30/06. Is there code that I can use
in an existing page setup macro to do this for all rows in the speadsheet?
Thanks
 
G

Guest

SITCFanTN said:
I have a report that I download into Excel. The report has dates for many
months. The current date format is ymmdd (ie 60530) and I'd like to
convert
it to an easier to read format like 05/30/06. Is there code that I can
use
in an existing page setup macro to do this for all rows in the speadsheet?
Thanks
 
G

Guest

Hi

Try Data - Text to columns. There is an option - on the third page, I
think - to tell Excel that you have a date - and also its format.

Andy.
 
G

Guest

Thanks for your help Andy I learned something new, the only thing is that it
is reading 605030 as 5/30/1960.....I was thinking if there was a way to add
200 before the 6, maybe it would calculate better. Is there code I can use
to do that before I do the conversion that you know of. Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top