|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How to automatically prompt for document properties on first save of a document?
Hi,
I'm using Office 365. In older versions of Word, when I saved a new document for the first time, Word would prompt for the document properties by opening the document properties dialog box. That no longer happens. At some point in the past, with a more recent version of Word, I learned how to create a macro that would cause the document properties dialog box to run, but I recently lost my macros and normal.dotm and had to restore everything. Unfortunately, I no longer remember how I got the doc properties to run automatically. Can anyone tell me how to set this up? Thanks! |
#2
|
|||
|
|||
[Edit: The following in Italics is mistaken.
I'm not sure this can be done simply. I believe that in earlier versions, the vba command Code:
Options.SavePropertiesPrompt = True You could, I believe, intercept the save command with a userform that would query for the information and put it into document properties prior to saving. [End mistaken] The following command, if placed in an appropriate macro should do it: application.DisplayDocumentInformationPanel = True While this appears to be an Application property, it does not seem to be sticky. You could put it in an intercepting macro for Save and SaveAs commands. For doing this with a userform take a look at Prompt to enter (custom) document property in Microsoft Word - Super User. See also: Intercepting events like Save and Print. sorry, I need to get to bed, early morning class I'm teaching. [End Edit] |
#3
|
|||
|
|||
Thanks for the help. I'll give it a try as soon as I have a bit of free time. I'm really a bit of a newbie at macros (I've recorded a few, but I haven't written any using vba), but hopefully I can get it to work. I'll let you know on this thread once I've tried (might be a day or two). Thanks!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with Document Properties Prompt Macro | KJJ | Word VBA | 14 | 11-10-2016 08:18 PM |
Updating Document Properties without using advanced properties dialogue | thedr9wningman | Word VBA | 3 | 01-20-2014 05:56 PM |
Prompt when close the document | ubns | Word | 15 | 04-29-2012 10:07 PM |
Prompt for Selection Point in document | caddcop | Word VBA | 3 | 06-14-2011 05:45 PM |
Add custom document properties into document | NicBodkin | Word | 8 | 05-05-2011 09:09 AM |