Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-04-2019, 08:09 PM
dsv dsv is offline How to automatically prompt for document properties on first save of a document? Windows 10 How to automatically prompt for document properties on first save of a document? Office 2019
Novice
How to automatically prompt for document properties on first save of a document?
 
Join Date: Oct 2019
Posts: 2
dsv is on a distinguished road
Default 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!
Reply With Quote
  #2  
Old 10-04-2019, 09:08 PM
Charles Kenyon Charles Kenyon is offline How to automatically prompt for document properties on first save of a document? Windows 10 How to automatically prompt for document properties on first save of a document? Office 2016
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 7,543
Charles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud of
Default

[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
would do it. I do not see it having effect since the disappearance of the document properties panel.

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]
Reply With Quote
  #3  
Old 10-05-2019, 11:02 AM
dsv dsv is offline How to automatically prompt for document properties on first save of a document? Windows 10 How to automatically prompt for document properties on first save of a document? Office 2019
Novice
How to automatically prompt for document properties on first save of a document?
 
Join Date: Oct 2019
Posts: 2
dsv is on a distinguished road
Default

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!
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to automatically prompt for document properties on first save of a document? Help with Document Properties Prompt Macro KJJ Word VBA 14 11-10-2016 08:18 PM
How to automatically prompt for document properties on first save of a document? 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
How to automatically prompt for document properties on first save of a document? Prompt for Selection Point in document caddcop Word VBA 3 06-14-2011 05:45 PM
How to automatically prompt for document properties on first save of a document? Add custom document properties into document NicBodkin Word 8 05-05-2011 09:09 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:29 PM.


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