3

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.

BladeHal
  • 683
  • 1
  • 8
  • 26
  • Can you add the code snippet you are using to save? I think there may be a parameter overload, or a property that can be set on the instance to force this. – atconway Mar 29 '13 at 19:38

1 Answers1

7

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();
BladeHal
  • 683
  • 1
  • 8
  • 26