Is it possible to create a template that will keep the Formatting toolbar
hidden when others open it. I think I'm finding that the View options are
user/computer-specific, but if there's a way, I'd like to conceal it.
Thank you.
Well, sort of, but it's not nice. If the template contains these
macros:
Sub AutoNew()
CommandBars("Formatting").Enabled = False
End Sub
Sub AutoOpen()
CommandBars("Formatting").Enabled = False
End Sub
then the Formatting toolbar is not just hidden, it's also removed from
the View > Toolbars submenu and from the Tools > Customize > Toolbars
list. If any documents are already open with the toolbar showing,
it'll stay visible and active in those documents. But it won't be
available in any document opened or created in the same session after
the macro runs, even if they're based on some other template. To get
the toolbar back, you have to close Word and then open some document
not based on your template (or be savvy enough to run a macro that
sets .Enabled = True). If I were one of your template's unfortunate
users, I'd be really PO'd about this.
Somewhat less drastic is to set .Visible = False instead of .Enabled.
That just hides the toolbar, but the user can get it back by using the
View > Toolbars menu. In any case, you owe the user an explanation of
what you're doing and why.
--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.