How do I lock the toobars?

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

Guest

I was wondering, in the old Microsoft Word versions, there was a way to lock
the toolbars so they could not be accidentally moved. I can't figure out how
to do that in Word 2003. Does anyone know how?
 
I don't recall a toolbar lock in previous versions. The best you are likely
to achieve is tools > customize > options > show toolbars on two rows. The
bars should then stay where they are put.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
You can disable moving them with a macro...
Say for the Standard toolbar
CommandBars("Standard").Protection=msoBarNoMove

I think that ability is around quite a while (Word97, maybe earlier?).

You have to be a bit careful, since there are different kinds of protection (also to allow/disallow modifications, or change of visibility, or resizing, or certain kinds of docking). You add the constants if you want several of them.
So before you make the change, it might be good to check if there's already a certain protection applied:
? CommandBars("Standard").Protection
and then add/subtract the msoBarProtection constant you want to change (say, msoBarNoMove = 4 in your case).

Greetings,
Klaus
 
Back
Top