Can't edit custom toolbar

X

xblx_Turtle

There is a problem :

I have custom toolbar that is situated in a separate .dot file .
..dot file is situated in "%CURRENT_USER%\Application
Data\Microsoft\Word\STARTUP\" folder and loads on startup. Problem is that I
can't edit any prefferences of this custom toolbar (add or delete buttons or
change toolbar name or change buttons icon).

All other toolbars are editable.

Can you give some piece of advice or suggestion of what can be the cause of
this behaviour.
 
J

Jean-Guy Marcil

xblx_Turtle was telling us:
xblx_Turtle nous racontait que :
There is a problem :

I have custom toolbar that is situated in a separate .dot file .
.dot file is situated in "%CURRENT_USER%\Application
Data\Microsoft\Word\STARTUP\" folder and loads on startup. Problem
is that I can't edit any prefferences of this custom toolbar (add or
delete buttons or change toolbar name or change buttons icon).

All other toolbars are editable.

Can you give some piece of advice or suggestion of what can be the
cause of this behaviour.

How are you trying to edit that toolbar? (Manually or by code?)
What is the overall scenario?

--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
X

xblx_Turtle

I'm trying to edit it manually.

Toolbar is displayed on the panel. I'm clicking Customize on the Tools menu,
and selecting the Toolbars tab.

The problem is that I can't mark button to edit with right mouse click. I
can mark any other buttons from other toolbars but not this toolbar.

Thanks for replying.
 
J

Jean-Guy Marcil

xblx_Turtle was telling us:
xblx_Turtle nous racontait que :
I'm trying to edit it manually.

Toolbar is displayed on the panel. I'm clicking Customize on the
Tools menu, and selecting the Toolbars tab.

The problem is that I can't mark button to edit with right mouse
click. I can mark any other buttons from other toolbars but not this
toolbar.


What Word Version?

In most version, if a template is in the start-up folder and then Word is
launched, the template is "Loaded", i.e. its macros and toolbars are
accessible.
But it cannot be edited directly. For that, you have to open the template
itself.
OTOH, with Word 2003, you can edit the toolbars of a loaded template, even
if you cannot edit the underlying code.

--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
X

xblx_Turtle

I have Word 2003.

I've tried to open template explicitly ( opening the .dot file) , but
nothing changed.
Can it be some kind of license protection or something like this ?
May be the problem is in the vb macros ?
I saw the vb code, but i'm not guru of vb scripting in word .


Thanks for replying.
 
J

Jean-Guy Marcil

xblx_Turtle was telling us:
xblx_Turtle nous racontait que :
I have Word 2003.

I've tried to open template explicitly ( opening the .dot file) , but
nothing changed.
Can it be some kind of license protection or something like this ?
May be the problem is in the vb macros ?
I saw the vb code, but i'm not guru of vb scripting in word .


Thanks for replying.

Is this a third party template?

If you didn't write it, then it is possible that those who did locked the
toolbar against any changes.

For example, with these two subs, the first one will prevent customization
of a tool bar named "Test" and the second one will remove that protection
(Or any other protection that may have been applied, like NoVerticalDocking,
NoResizing, etc.):

'_______________________________________
Sub ProtectBar()

Dim cmdbarTest As CommandBar

Set cmdbarTest = Application.CommandBars("Test")

cmdbarTest.Protection = msoBarNoCustomize

End Sub
'_______________________________________

'_______________________________________
Sub UnprotectBar()

Dim cmdbarTest As CommandBar

Set cmdbarTest = Application.CommandBars("Test")

cmdbarTest.Protection = msoBarNoProtection

End Sub
'_______________________________________

--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

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