Hi, I am looking for a simple macro to convert the decimals in colum A to forward slashes.
eg) 2008.08.08 would be converted to 2008/08/08
Any help would be greatly appreciated..thanks
Hi, I am looking for a simple macro to convert the decimals in colum A to forward slashes.
eg) 2008.08.08 would be converted to 2008/08/08
Any help would be greatly appreciated..thanks
Last edited by wowzers; 06-23-2012 at 03:25 PM.
1) Turn on the macro recorder, give the new macro a useful name before pressing OK
2) Highlight column A
3) Press CTRL-H to open the REPLACE window
4) Fill in the FIND and REPLACE strings and click Replace All
5) Turn off the macro recorder
You now have a macro that accompishes that for you on column A only.
If you want to create a macro that accomplishes that on ANY column you select, then swap instructions 1 & 2 above. The resulting macro would work on any selected column since you didn't record the "selection".
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
WOW, awesome. Thankyou for the exceptional response
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks