Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 02-21-2013, 07:25 PM
macropod's Avatar
macropod macropod is offline Sequentially numbering a document Windows 7 64bit Sequentially numbering a document Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You code looks OK, though:
• you haven't declared your 'FormNumber' variable;
• "Order" should read "FormNumber";
• your code inserts the form number before the bookmark, rather than updating it, which means any cross-references to the bookmark also won't update to reflect the form number; and
• you may encounter permissions issues trying to write to C:\

For a different approach, see: https://www.msofficeforums.com/word/...iple-docs.html
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sequentially numbering a document Sequential Document Numbering Geza59 Word VBA 18 01-15-2014 01:43 AM
Sequentially numbering a document Sequential document numbering excel'97 Scottlambert Excel 1 05-11-2012 03:40 AM
Document unique numbering / forms JamesF Word 0 11-22-2010 03:52 AM
Continuous page numbering in a merged document dkeinath Mail Merge 0 07-30-2010 09:30 AM
Please help with Numbering a document with multiple letters. DJReality213 Office 1 01-15-2010 05:56 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:15 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft