#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default It worked!

Thank you so much, Tom! You don't know how much I
appreciate this! You saved me hours and hours of work.
Thanks again and I hope you have a great weekend!

Nikki
-----Original Message-----
Let me correct myself - I don't believe I correctly

interpreted your
requirement - and I mispoke about 11111. Try this format

[<100000]00000-"0000";00000-0000

for 11111 it does display 11111-0000

--
Regards,
Tom Ogilvy


"Nikki" wrote in

message
...
I just tried that and it doesn't look like it did
anything...

Any other ideas?
-----Original Message-----
Select the column then:
format = Cells = Number Tab, go to Custom

[<100000]00000;00000-0000

I believe this will do what you want.
--
Regards,
Tom Ogilvy


"Nikki" wrote in

message
...
I've got a list of about 1500 zip codes in my

worksheet.
Unfortunately, they are not all formatted the same

way. I
want them all to have the zip code plus 4 digits

format
(00000-0000). But, whenever I choose that in the

format
cells dialog box, it automatically changes the zip

code
that were only 5 digits to have four leading zeros.
Example, from 11111 to 00001-1111, instead of 11111-

0000.
I want it to add the zeros to the end, not the

beginning.
Any idea on how I can get it to work this way? I

figured
I'd be able to program it to work that way, but I'm

not
familiar with the programming part, so I don't even

know
where to start.

Oh, and I'm using Excel 2003...

Thanks!


.



.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default It worked!

Thanks for the enthusiastic response and sorry for the initial "Bum Steer".

--
Regards,
Tom Ogilvy

"Nikki" wrote in message
...
Thank you so much, Tom! You don't know how much I
appreciate this! You saved me hours and hours of work.
Thanks again and I hope you have a great weekend!

Nikki
-----Original Message-----
Let me correct myself - I don't believe I correctly

interpreted your
requirement - and I mispoke about 11111. Try this format

[<100000]00000-"0000";00000-0000

for 11111 it does display 11111-0000

--
Regards,
Tom Ogilvy


"Nikki" wrote in

message
...
I just tried that and it doesn't look like it did
anything...

Any other ideas?
-----Original Message-----
Select the column then:
format = Cells = Number Tab, go to Custom

[<100000]00000;00000-0000

I believe this will do what you want.
--
Regards,
Tom Ogilvy


"Nikki" wrote in
message
...
I've got a list of about 1500 zip codes in my
worksheet.
Unfortunately, they are not all formatted the same
way. I
want them all to have the zip code plus 4 digits

format
(00000-0000). But, whenever I choose that in the

format
cells dialog box, it automatically changes the zip

code
that were only 5 digits to have four leading zeros.
Example, from 11111 to 00001-1111, instead of 11111-
0000.
I want it to add the zeros to the end, not the
beginning.
Any idea on how I can get it to work this way? I
figured
I'd be able to program it to work that way, but I'm

not
familiar with the programming part, so I don't even
know
where to start.

Oh, and I'm using Excel 2003...

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
The reply worked, but I still need help.... John1791 Excel Worksheet Functions 5 December 27th 07 04:57 PM
Most hours worked spankydata New Users to Excel 3 August 10th 06 09:51 AM
It Worked!!! :-) thelees Excel Discussion (Misc queries) 1 September 25th 05 11:22 PM
Hours worked Keith Bowman Excel Worksheet Functions 2 November 26th 04 07:07 PM
It worked! Nikki[_4_] Excel Programming 0 September 24th 04 06:29 PM


All times are GMT +1. The time now is 05:15 PM.

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

About Us

"It's about Microsoft Excel"