M
Marco Singer
Hi all,
this code in VB.NET:
Dim app as New Word.Application
Dim doc as Word.Document
doc = app.documents.Open(filename)
doc.ActiveWindow.View.SplitSpecial = Word.WdSpecialPane.wdPaneNone
doc.ActiveWindow.View.SplitSpecial = Word.WdSpecialPane.wdPaneComments
causes an "command failed" (?) (German: "Befehl misslungen") exception.
The same code in Word VBA runs without problems.
Can anyone help?
Thanks
Marco
this code in VB.NET:
Dim app as New Word.Application
Dim doc as Word.Document
doc = app.documents.Open(filename)
doc.ActiveWindow.View.SplitSpecial = Word.WdSpecialPane.wdPaneNone
doc.ActiveWindow.View.SplitSpecial = Word.WdSpecialPane.wdPaneComments
causes an "command failed" (?) (German: "Befehl misslungen") exception.
The same code in Word VBA runs without problems.
Can anyone help?
Thanks
Marco