R
RNG
I’m trying to show the Microsoft Word’s Table Autoformat dialog and getting
it auto-select a custom style defined by the user.
The problem I’m running into is that the dialog I’m getting thru automation
is different than the dialog Word shows when going thru the menu Table \
Autoformat.
The dialog I’m getting has fewer options and only shows the Word built-in
table styles. However in the dialog obtained by clicking on the Table menu
there’s a “Category†dropdown which allows for showing “User-defined tale
stylesâ€.
This is the code I’m using to show the dialog:
Word.Dialog dialog =
this.Application.Dialogs[Word.WdWordDialog.wdDialogTableAutoFormat];
dialog.Show(ref missing);
Why the two dialogs are different? And how can I get the richer dialog to
show up thru automation.
Thanks in advance,
Ram
it auto-select a custom style defined by the user.
The problem I’m running into is that the dialog I’m getting thru automation
is different than the dialog Word shows when going thru the menu Table \
Autoformat.
The dialog I’m getting has fewer options and only shows the Word built-in
table styles. However in the dialog obtained by clicking on the Table menu
there’s a “Category†dropdown which allows for showing “User-defined tale
stylesâ€.
This is the code I’m using to show the dialog:
Word.Dialog dialog =
this.Application.Dialogs[Word.WdWordDialog.wdDialogTableAutoFormat];
dialog.Show(ref missing);
Why the two dialogs are different? And how can I get the richer dialog to
show up thru automation.
Thanks in advance,
Ram