|
-
Nov 12th, 2004, 09:48 AM
#1
Thread Starter
New Member
I want a macro form Excel VBA for formatting cells in such a way that
There are already values in the form of ZipCode, but those are not in the format of "#####-####", so i want macro to replace those format with standard format
Thanku
-
Nov 12th, 2004, 10:55 AM
#2
Start a macro record
Highlight all the cells
Right click>Format Cells (general tab)
Select custom format
Enter the format
Click ok
Stop the recording
Look at the code...
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|