S
Sandeep
Hi,
I am opening a document from my c# code. The document
itself is containing two subdocuments. When I activate the
document to open it, it gets opened but the subdocuments
in it appear in hyperlind and not in expanded mode.
I have however explicitly stated the following code to
expand all subdocuments, but failed-
aDoc.ActiveWindow.ActivePane.View.Type =
Word.WdViewType.wdOutlineView;
WordApp.ActiveDocument.Subdocuments.Expanded = true;
Can anyone suggest whatz wrong with that.
How to get subdocuments expanded when opening the master
document.
Thx.
Sandeep
I am opening a document from my c# code. The document
itself is containing two subdocuments. When I activate the
document to open it, it gets opened but the subdocuments
in it appear in hyperlind and not in expanded mode.
I have however explicitly stated the following code to
expand all subdocuments, but failed-
aDoc.ActiveWindow.ActivePane.View.Type =
Word.WdViewType.wdOutlineView;
WordApp.ActiveDocument.Subdocuments.Expanded = true;
Can anyone suggest whatz wrong with that.
How to get subdocuments expanded when opening the master
document.
Thx.
Sandeep