S
Sage Solutions Group
I've researched customizing the "New Document" task pane in Word.
(including http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbaof10/html/ofmthremove.asp
and Knowledge Base article #288542). I've tried using the
application.newdocument.remove method to remove items from this task
pane, but it will only work for removing links to files that exist,
not for removing things such as "Blank Web Page", since that is not a
file.
The first argument for the application.newdocument.remove method is
the FileName. So I can say something like:
Application.NewDocument.Remove Filename:="Document.doc"
Which will remove the link to that document in the task pane. I can't
however, remove "Blank Web Page" because there is no filename
associated with it. It is driving me insane! Also, I'm trying to
remove the whole "New" and "New from existing document" groups (two of
the four groups in the New Document task pane), but I've searched from
here to Tuesday (newsgroups, the web, msdn, etc.) and can't find one
possible way to do this. There's gotta be a way to do it, unless
there is no way to control these non-file links in the task pane
through VBA which would be a real shame.
Does anybody have any insight into removing these non-file links in
the New Document task pane?
(including http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbaof10/html/ofmthremove.asp
and Knowledge Base article #288542). I've tried using the
application.newdocument.remove method to remove items from this task
pane, but it will only work for removing links to files that exist,
not for removing things such as "Blank Web Page", since that is not a
file.
The first argument for the application.newdocument.remove method is
the FileName. So I can say something like:
Application.NewDocument.Remove Filename:="Document.doc"
Which will remove the link to that document in the task pane. I can't
however, remove "Blank Web Page" because there is no filename
associated with it. It is driving me insane! Also, I'm trying to
remove the whole "New" and "New from existing document" groups (two of
the four groups in the New Document task pane), but I've searched from
here to Tuesday (newsgroups, the web, msdn, etc.) and can't find one
possible way to do this. There's gotta be a way to do it, unless
there is no way to control these non-file links in the task pane
through VBA which would be a real shame.
Does anybody have any insight into removing these non-file links in
the New Document task pane?