ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   changing date format (https://www.excelbanter.com/new-users-excel/92066-changing-date-format.html)

SITCFanTN

changing date format
 
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



changing date format
 

"SITCFanTN" wrote in message
...
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





changing date format
 
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.

"SITCFanTN" wrote in message
...
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




SITCFanTN

changing date format
 
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

"AndyB" wrote:

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.

"SITCFanTN" wrote in message
...
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





Norman Jones

changing date format
 
Hi SITCFanTN,

See response in Programming.


---
Regards,
Norman


"SITCFanTN" wrote in message
...
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





All times are GMT +1. The time now is 12:06 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com