R
Rich007
Hi.
This should be simple. How do I show the new document task pane using vba
(Word 2003)?
The background:
I want to intercept the File > New... button so that I can perform a class
initialization, so my Application Events work after Word is launched from
Internet Explorer, i.e.
Set oAppClass.oApp = Word.Application
Once that line of code is run, the oApp_NewDocument event macro will run
when a new document is opened.
If I use the usual inctercept method to create a new macro from the Word
Commands, (http://word.mvps.org/FAQs/MacrosVBA/InterceptSavePrint.htm)
I get...
Sub FileNew()
' FileNew Macro
' Opens New Document taskpane [NO IT DOESN'T!]
'
Dialogs(wdDialogFileNew).Show
End Sub
....these only show the "New" dialog window (with the tabs where you can
select templates). I want to be able to run an intercept of the New...
button and NOT change the functionality of Word- i.e. I still want to be able
to show the New Documents task pane.
Any ideas?
Rich
This should be simple. How do I show the new document task pane using vba
(Word 2003)?
The background:
I want to intercept the File > New... button so that I can perform a class
initialization, so my Application Events work after Word is launched from
Internet Explorer, i.e.
Set oAppClass.oApp = Word.Application
Once that line of code is run, the oApp_NewDocument event macro will run
when a new document is opened.
If I use the usual inctercept method to create a new macro from the Word
Commands, (http://word.mvps.org/FAQs/MacrosVBA/InterceptSavePrint.htm)
I get...
Sub FileNew()
' FileNew Macro
' Opens New Document taskpane [NO IT DOESN'T!]
'
Dialogs(wdDialogFileNew).Show
End Sub
....these only show the "New" dialog window (with the tabs where you can
select templates). I want to be able to run an intercept of the New...
button and NOT change the functionality of Word- i.e. I still want to be able
to show the New Documents task pane.
Any ideas?
Rich