Word XP: Removing "Blank Web Page", "Blank E-mail message", etc. from New Document task pane

  • Thread starter Sage Solutions Group
  • Start date
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?
 
W

Word Heretic

G'day (e-mail address removed) (Sage Solutions Group),

I hardcoded a batch file and just run that,

(e-mail address removed) (Sage Solutions Group) was spinning this yarn:
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?

Steve Hudson

Word Heretic, Sydney, Australia
Tricky stuff with Word or words for you.
wordheretic.com

Replies offlist may require payment.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top