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 / March 2006

Tip: Looking for answers? Try searching our database.

How do I automatically run macro FileProperties when opening doc

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
UA Oz - 29 Mar 2006 01:34 GMT
I have created a template and need to force the opening of the File
Properties dialog when creating a new doc based on the template, or when
re-opening the doc. I have tried naming a macro AutoExec and using the
command   ActiveDocument.Application.Run MacroName:="FileProperties" but it
doesn't work.
UA Oz - 29 Mar 2006 02:01 GMT
Found the answer myself. use macro name AutoNew for creating new doc from
template, and AutoOpen fffor when re-opening the doc.

> I have created a template and need to force the opening of the File
> Properties dialog when creating a new doc based on the template, or when
> re-opening the doc. I have tried naming a macro AutoExec and using the
> command   ActiveDocument.Application.Run MacroName:="FileProperties" but it
> doesn't work.
Charles Kenyon - 29 Mar 2006 20:03 GMT
You can set a document to prompt for File Properties when it is closed or
saved for the first time.
Signature

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

>I have created a template and need to force the opening of the File
> Properties dialog when creating a new doc based on the template, or when
> re-opening the doc. I have tried naming a macro AutoExec and using the
> command   ActiveDocument.Application.Run MacroName:="FileProperties" but
> it
> doesn't work.
 
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.