H
Haydn Robinson
I'm trying to use on of Word's built in dialogs, namely the table auto-format
dialog. Reading up on MSDN, this should work:
Word.Dialog dlg =
Application.Dialogs[Word.WdWordDialog.wdDialogTableAutoFormat];
However, doing this I get the following error:
"Microsoft Word: This method or property is not available because some or
all of the current selection is not in a table."
What am I doing wrong?
dialog. Reading up on MSDN, this should work:
Word.Dialog dlg =
Application.Dialogs[Word.WdWordDialog.wdDialogTableAutoFormat];
However, doing this I get the following error:
"Microsoft Word: This method or property is not available because some or
all of the current selection is not in a table."
What am I doing wrong?