Group: microsoft.public.word.vba.general
From: "Summer"
Date: Friday, March 28, 2008 6:02 PM
Subject: Re: Word 2007 ribbon dynamically adjust at startup

Hi, what is the problem? The code works for me by putting in the tab - and
does not call any macros - I removed CallbackOnRibbonLoad because I call
another routine. - but dumped it into my sample.dotm. It tried to open all 5
macros with error.

You might have to supply a macro sample - perhaps the code is incorrect?

"Axel" wrote in message
news:fsinef$iag$03$1@news.t-online.com...
> Hi,
>
> in Word 2007 there is a global template "TEST.DOTM". Within the ribbon of
> this template I've created the new tab "Test" wich contains 5 button.
> Depending on user setting, some of these button should be visible and some
> should not - after TEST.DOTM is loaded as global template. Here is the
> code:
>
> XML code:
>
> > onLoad="CallbackOnRibbonLoad">
>
>
>
>
>
>

Safety Articles | Usenet Groups | Usenet News | Bluegrass