Task Pane and Word 2003 Template

J

Joe

Hi,

I'm developing a Word 2003 Template with a custom task pane. I try to
compute the behavior that the task pane is only visible when i open the
document as a template. when i open the document in doc mode, the task pane
should be hidden.

I've tried to use the command: "Application.CommandBars["Task Pane"].Visible
= false", but it doesn't work. The task pane is always visible, when i open
the document in doc mode.

If somebody know how to fix this, please tell me. thx.
Joe
 
D

Doug Robbins - Word MVP

Templates should not be designed to used by selecting Open from the File
menu and then selecting the template. Rather, they should be used by
selecting New from the File menu and then selecting the template.

I would use a userform rather than a task pane.

See http://gregmaxey.mvps.org/Create_and_employ_a_UserForm.htm

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 

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