Disabling Styles and Formating

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way using a VBA script to disable the "Styles and Formating"
toolbar and button?
 
This will do it:
Sub DisableFormattingToolbar()

CommandBars("Formatting").Enabled = False

End Sub

tj
 
If you are using Word 2003 you can use the new Document Protection
features that will allow you to set formatting restrictions.

Otherwise you can remove the command or intercept it with VBA but
macros are easily bypassed.

--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/
 
Is there also a way to disable the "Styles and Formatting" from the "Task
Pane" in Word 2003 or other versions of Word that might have this side "Task
Pane"?

Thanks,
Nick
 
I have it now where the "Formatting and Styles" are disabled.

But how can I make it so that "Formatting and Styles" disapears from the
"Format" drop down menu and also from appearing in the drop down menu on the
"Format Pane."
 
Back
Top