R
Rosellina
I am fairly new at VBA, any help is greatly appreciated.
I have set up a template - for all documents based on this template ONLY a
custom toolbar should be displayed. I can do this the "long way round" by
using the following in an AutoNew macro:
CommandBars("MyToolbar").Visible = True
CommandBars("Task Pane").Visible = False
CommandBars("Formatting").Visible = False
CommandBars("Standard").Visible = False
etc etc.
As the template will be used by various users, my problem is, how do I
return Word defaults to what they were before using my template. At present
I am using the following commands in an AutoClose macro, to restore commonly
used toolbars like Standard and Formatting:
CommandBars("Formatting").Visible = True
CommandBars("Standard").Visible = True
but of course different users have different toolbars (Drawing etc.)
normally displayed. Can any body help me with this problem? I have tried
using the Customization Context command, but I don't seem to get it right.
Thanks for your help
I have set up a template - for all documents based on this template ONLY a
custom toolbar should be displayed. I can do this the "long way round" by
using the following in an AutoNew macro:
CommandBars("MyToolbar").Visible = True
CommandBars("Task Pane").Visible = False
CommandBars("Formatting").Visible = False
CommandBars("Standard").Visible = False
etc etc.
As the template will be used by various users, my problem is, how do I
return Word defaults to what they were before using my template. At present
I am using the following commands in an AutoClose macro, to restore commonly
used toolbars like Standard and Formatting:
CommandBars("Formatting").Visible = True
CommandBars("Standard").Visible = True
but of course different users have different toolbars (Drawing etc.)
normally displayed. Can any body help me with this problem? I have tried
using the Customization Context command, but I don't seem to get it right.
Thanks for your help