Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Zachary
 
Posts: n/a
Default Still have Issues with leading zeros after applying switches

I am experiencing the exact same situation as Richard originally wrote on
2/4/05. When merging zip codes, leading zero is dropped on 5 digit zip code;
10 digit with leading zero works fine.
Additional background-
1. My data source is provided in html format.
2. In data source, zip codes can be either be 5 digit or 10 digit (9 digit
plus the '-' in between zip and 4 ext. The '-' cannot be easily removed)

Went to gmayor.com as suggested in several postings. The \# "00000" switch
works great if the data source has 5 digit zip codes only. In my case, If a
10 digit zip is passed in, then the formatting treat it like a subtraction
calculation. So 12345-6789 ends up as '05556' and 01234-5678 ends up as
'-04444'

I tried different variations on the swith syntax with no luck. Any
suggestions would be greatly appreciated!

--
Zachary
 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:09 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"