On Mon, 25 Jul 2005 21:53:15 +0200, "Doug Robbins"
Post by Doug RobbinsDialogs(wdDialogFileNew).Show
I am well aware of that one. Yes, I want the New Document Task Pain
(I like how you spelled that, it does seem to be a pain). I want to
configure my personal customization add-in to use either the taskpane
or the dialog, depending on the state of a check box and corresponding
registry entry. I have written replacements for some of the standard
menu/toolbar functions, and want to be able to select whether to use
the replacement or standard functionality. If you invoke FileNew
without a replacment function in place, it invokes the taskpane. If I
create a replacement FileNew, that it always run. I want it to say
If replacementregistryentry = True Then
Dialogs(wdDialogFileNew).Show
Else
Invoke taskpane
End If
I can't for the life of me find the command to invoke the taskpane.
The macro recorder won't record it. There is no info in the help file
on it. No answer on Google. But there has to be a command that Word
is executing to make that taskpane appear.