Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.tables
JERRY JERRY is offline
external usenet poster
 
Posts: 288
Default Removing Leading Zeroes

I have a long table, one column of which contains three-digit numbers, one
per cell (the table uses Mail Merge data from an Access database). Is there a
way to remove the leading zeroes from this column without doing it manually?
I'm using Word 2000.
Thanks, Jerry
  #2   Report Post  
Posted to microsoft.public.word.tables
macropod macropod is offline
external usenet poster
 
Posts: 1,002
Default Removing Leading Zeroes

Hi Jerry,

Since you're using mailmerge, the best way to eliminate the leading 0s, assuming you can't change the data source, is to trim the
values during the merge process. To do this:
.. Select the mailmerge field that's retrieving the values (eg '«Data_Val»').
.. Press Shift-F9 to expose the filed code. It should look something like '{ MERGEFIELD Data_Val }'
.. Edit the field so that you've got '{ MERGEFIELD Data_Val \# 0}'
.. Press Shift-F9 to hide the field code
.. Run your mailmerge.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

"Jerry" wrote in message ...
I have a long table, one column of which contains three-digit numbers, one
per cell (the table uses Mail Merge data from an Access database). Is there a
way to remove the leading zeroes from this column without doing it manually?
I'm using Word 2000.
Thanks, Jerry


Reply
Thread Tools
Display Modes

Posting Rules

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing leading whitespace at start of line Henry Microsoft Word Help 2 October 28th 07 09:05 PM
My zip code field on the mail merge drops leading zeroes, why? PETEinBOSTON Mailmerge 1 March 2nd 07 04:01 PM
Printing zeroes with line through it Burkey Microsoft Word Help 1 July 25th 06 01:06 PM
Mail Merge dropping leading zeroes from the zip code lbradsha@erols Mailmerge 1 May 12th 05 04:50 PM
Truncating leading zeroes JM Microsoft Word Help 3 December 2nd 04 04:16 PM


All times are GMT +1. The time now is 01:47 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"