Disabling Styles and Formatting

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

Guest

Is there a way using VBA to create a macro that will disable the Styles an
Formating toolbar and button to access it.
 
This macro will do it:

Sub DisableFormattingToolbar()

CommandBars("Formatting").Enabled = False

End Sub

You may have to set it to happen when the workbook opens, if you want this
to happen when a user opens the book.

tj
 

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

Similar Threads


Back
Top