Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I received some data with the dates in a yyyymmdd format. Although I can go
in and change this by splitting the data up with the text to column option, then concatenate the rows with a "/" in between them, I was wondering if anyone has put together a macro to do this a bit faster than it takes to go through all of these other steps. Thanks, -- Acknowledge and Move on. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
for each cell in selection
with cell .value = datevalue(mid(.value,5,2) & "/" & Mid(.value,7,2) & "/" _ & mid(.value,1,4)) End with Next -- Regards, Tom Ogilvy "Iris" wrote in message ... I received some data with the dates in a yyyymmdd format. Although I can go in and change this by splitting the data up with the text to column option, then concatenate the rows with a "/" in between them, I was wondering if anyone has put together a macro to do this a bit faster than it takes to go through all of these other steps. Thanks, -- Acknowledge and Move on. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
No need for code You can use Data Text to columns next next choose YMD to A1 Then change the format in column A what you want -- Regards Ron de Bruin http://www.rondebruin.nl "Iris" wrote in message ... I received some data with the dates in a yyyymmdd format. Although I can go in and change this by splitting the data up with the text to column option, then concatenate the rows with a "/" in between them, I was wondering if anyone has put together a macro to do this a bit faster than it takes to go through all of these other steps. Thanks, -- Acknowledge and Move on. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Never mind, I found out about the other text to column method where you
select the delimited option, then select the date format of ymd. It automatically sets it to mm/dd/yyyy. :) -- Acknowledge and Move on. "Iris" wrote: I received some data with the dates in a yyyymmdd format. Although I can go in and change this by splitting the data up with the text to column option, then concatenate the rows with a "/" in between them, I was wondering if anyone has put together a macro to do this a bit faster than it takes to go through all of these other steps. Thanks, -- Acknowledge and Move on. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do I convert date format yyyymmdd to mm/dd/yyyy | Excel Worksheet Functions | |||
how do I change the date format from yyyymmdd to mm/dd/yyyy | Excel Worksheet Functions | |||
change date format from dd/mm/yyyy to mm/yyyy | Excel Discussion (Misc queries) | |||
how do I change date from mm/dd/yyyy to dd:mm:yyyy format in Excel | New Users to Excel | |||
How to convert the dates from the YY:DD forma to MM/dd/YYYY format | Excel Worksheet Functions |