Macro to get rid of outline toolbar?

  • Thread starter removing all headers and footers
  • Start date
R

removing all headers and footers

Is there a macro that will get rid of the outlining toolbar? everytime I take
it off the list, and go out of outline view, then back, it comes up there
again?
 
R

Reitanos

Did you know that you can record a macro? Tools/Macro/Record New
Macro...
Any steps you take are then recorded into a new macro.

Sub RemoveOutineTB()
CommandBars("Outlining").Visible = False
End Sub

Of course, this is assuming that you're not using 2007.
 
J

Jay Freedman

removing said:
Is there a macro that will get rid of the outlining toolbar?
everytime I take it off the list, and go out of outline view, then
back, it comes up there again?

You can use a macro like the one in
http://www.word.mvps.org/FAQs/MacrosVBA/BanishWebToolbar.htm, but instead of
"Web" use "Outlining". Read http://www.gmayor.com/installing_macro.htm if
needed.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
R

removing all headers and footers

thanks, should have thought of that, JF:)
Reitanos said:
Did you know that you can record a macro? Tools/Macro/Record New
Macro...
Any steps you take are then recorded into a new macro.

Sub RemoveOutineTB()
CommandBars("Outlining").Visible = False
End Sub

Of course, this is assuming that you're not using 2007.
 

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