Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old 03-24-2013, 05:11 AM
macropod's Avatar
macropod macropod is online now Document Filename Generator for Referencing Windows 7 64bit Document Filename Generator for Referencing 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

For macro installation and usage instructions, see: http://www.gmayor.com/installing_macro.htm.
For instructions on adding custom document properties to a document/template, see: http://office.microsoft.com/en-us/wo...010047524.aspx

As indicated in my previous reply, the macro simply creates a sequential number and adds that to a custom document property. The macro then prompts the user to immediately save the document with that number. If you want anything fancier, you'll have to say exactly what the rules are for how a macro is supposed to work that out.

Depending on what you want to do with the file, with the above approach, you can use a FILENAME field and/or a DOCPROPERTY field in the header/footer to display the reference number in the document.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Tags
filename, msword, reference



Similar Threads
Thread Thread Starter Forum Replies Last Post
Random number generator for Powerpoint 2011 kala85 PowerPoint 0 11-19-2011 06:16 AM
Document Filename Generator for Referencing Save Filename using Document Text Knawl Word 11 10-10-2011 03:00 AM
Document Filename Generator for Referencing Referencing text throughout a document design Word 1 01-10-2011 03:54 PM
Word: The document 'Filename' caused a serious error the last time ... martincruise Word 0 02-25-2010 01:47 AM
Document Generator HJJ Word 0 08-12-2009 03:28 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:08 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