Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / September 2007

Tip: Looking for answers? Try searching our database.

Sequential numbers to appear twice on each document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Code Numpty - 11 Sep 2007 15:12 GMT
I have a simple form that I to print want multiple copies of. I have looked
at Doug Robbins macro at
http://word.mvps.org/FAQs/MacrosVBA/NumberCopiesOf1Doc.htm and would like to
use it. What I can't work out is how to get the same sequential number to
appear in 2 places on each copy.

e.g.
Copy 1 has: 123456 & 123456
Copy 2 has: 123457 & 123457
Jay Freedman - 11 Sep 2007 16:01 GMT
Set up the document with the bookmark for the first occurrence of the
number, as described in the article. Where you want the second occurrence,
insert a field

  { REF SerialNumber }

In the code, between the 'End With' and the 'ActiveDocument.Save'
statements, add the line

  ActiveDocument.Fields.Update

Signature

Regards,
Jay Freedman
Microsoft Word MVP        FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

> I have a simple form that I to print want multiple copies of. I have
> looked at Doug Robbins macro at
[quoted text clipped - 5 lines]
> Copy 1 has: 123456 & 123456
> Copy 2 has: 123457 & 123457
Code Numpty - 12 Sep 2007 10:20 GMT
Thank you Jay.
     ActiveDocument.Fields.Update  
was what I was missing.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.