Random question. Is there a way to programmatically open the Properties window of the Document Once a user double-clicks on the listbox I want the properties window to open.
Thanks!
Random question. Is there a way to programmatically open the Properties window of the Document Once a user double-clicks on the listbox I want the properties window to open.
Thanks!
programmatically open Properties window?
Fred Stegemann
PanosTz
The dialog box has an OK button that the user would click once they're done reading/editing the text. The dialog box is displayed as a modal dialog, so users cannot perform any actions on the document until they close it.
You can display the dialog for a certain amount of time, say 5 seconds, and have it close automatically by passing in a timeout value:
Dialogs(wdDialogFileSummaryInfo).Show (5000)
Kathleen McGrath [MSFT]
http://blogs.msdn.com/vsto2/
GLutz78
Sideshow Paul
I don't know of a way to programmatically display the Properties window of a Word document. However, depending on your reasons for wanting to display this, you might want to take a look at displaying the Summary Info dialog box. If you run the following code, it will display a Summary Info dialog box which enables users to update information about the document such as Title, Subject, Author, Keywords, and Comments.
Application.Dialogs(Word.WdWordDialog.wdDialogFileSummaryInfo).Show()
Kathleen McGrath [MSFT]
http://blogs.msdn.com/vsto2/