You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

&<img src="../resources/images/opentocr.png" title="Open Contents list" border="0"&>
You are here:

Showing a Word Dialog


The Save... button in our example displays the Word built-in Save Document dialog using the Show method of the Dialog object. You can access any Word built-in dialog using this method.

To access the Word built-in dialogs you need to use the ITEM keyword and you need to enclose the name of the dialog in <> signs. The name of the dialog has to be qualified by the name of the type library, VA_WORD:
invoke method(#WordApp.Dialogs.item<VA_WORD.wdDialogFileSaveAs>.show)
The functionality of the Save As dialog is now available to you:

&<img src="../resources/images/opentoc-dark.png" title="Open Contents List" border="0"&>

  • No labels