Reputation: 783
I need a way to always show the save as dialog when the user performs a certain action on a Word document. Currently, the dialog only shows when an unsaved document is saving. These documents I am working on have already been saved in one location with a particular name, but users will need to be able to change the name and the location.
Upvotes: 3
Views: 1617
Reputation: 783
Figured it out. Very simple, in case someone else runs into the same issue:
var wordDialog =
Globals.ThisDocument.ThisApplication.Dialogs[Word.WdWordDialog.wdDialogFileSaveAs];
wordDialog.Show();
Upvotes: 7