Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Creating Macro to edit cell

I am currently working on a database with 500+ incorrectly entered
birthdays. The birthdays are entered DD\MM\YYYY and I need it to be
MM/DD/YYYY. Since the Months and Days are switched, if I just switch
the \ to / it doesn't format correctly. How can I create a macro that
will change the birthday to how I need it and then go onto the next
cell below.

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Creating Macro to edit cell

select the column and do Data=Text to columns, select fixed width, then in
the last dialog of the wizard specify the column as date with the current
Order of month day and year

--
Regards,
Tom Ogilvy



" wrote:

I am currently working on a database with 500+ incorrectly entered
birthdays. The birthdays are entered DD\MM\YYYY and I need it to be
MM/DD/YYYY. Since the Months and Days are switched, if I just switch
the \ to / it doesn't format correctly. How can I create a macro that
will change the birthday to how I need it and then go onto the next
cell below.

Thanks


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Run macro on cell edit Defoes Right Boot Excel Programming 10 September 9th 05 01:00 PM
edit cell by macro helpwithXL Excel Programming 9 April 4th 05 06:21 PM
MACRO TO EDIT CELL FORMULA !! jay dean Excel Programming 3 July 10th 04 04:05 PM
A Macro to Edit Cell Content jer101 Excel Programming 2 June 17th 04 10:42 PM
Macro to edit cell steve Excel Programming 0 August 21st 03 05:48 PM


All times are GMT +1. The time now is 11:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"