Hi,
I have a problem for which I havent found a solution although I
searched some time in GoogleGroups:
I work @ a company of approx 35 users in 4 divisions. DC is win2000,
lately a lot of workstations were upgraded, we now have WindowsXP with
Office2000 on most clients.
I made 6 custom buttons on the toolbar in Word(2000) 18 moths or so
ago, and through groups and group policies in the Active Dir I managed
to distribute a template with these 6 custom buttons on to every
division. They worked fine. Every button (macro) did nothing more then
open a standard letter/memo/mail for our company, with (depending on
which division) a custom signature. Nothing fancy, but very handy for
all the users who only had to click a button to open their own custom
memo.
Since WindowsXP, however, I cant seem to get them to work properly
anymore. We just got a new logo and all, so I had to redo the
letters/memo and all anyway, so in the process I made some new
buttons. The way I went was: I made the macro's and buttons on a clear
Word, saved the document somewhere and manually renamed it to *.dot.
It's prolly not 'the microsoft way', but it worked (18 months ago,
that is). ;-)
Now, when I try to open the *.doc (so not the *.dot yet) on another
PC, it opens fine, 6 custom buttons appear, but if I press one, it
gives an error that it can't find the macro's or that he cant open due
to security settings. I've seen a lot of threads about lowering the
macro-security but it doesnt help. The macro wont work. (However, If I
make exactly the same macro on that PC, and make a button, it works
fine... Seems only the creator of the macros is allowed to open them).
If I distribute the *.dot through the group policies, on startup Word
gives an error about the template not being valid
(\\server\path\*.dot). The path he gives IS valid, but apparently its
not allowed to open.
Anyone any idea how I can make custom macro's with nice buttons AND be
able to distribute them to other users?
Sorry I cant give u the exact error messages, they are in Dutch since
we have the dutch XP and Office... 8(
Word Heretic - 25 Sep 2004 02:50 GMT
G'day basvanelk@hotmail.com (Avlan),
Yeowch. You have probably inadvertently changed the name of the
module the macros are in. If you open your Immediate Window (Alt+F11,
Ctrl+G) you can slowly and laboruiously reveal the onaction of each of
the controls on your toolbar and compare them to reality. Normally I
remove all prefixing straight away.
Additionally, you should be distributing these templates locally onto
each machine on update. Networked templates are problematic. Normally
a login script with an XCOPY does the trick nicely, and use an
environmental variable set by policy to control source dir.
Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com
steve from wordheretic.com (Email replies require payment)
Avlan reckoned:
>Hi,
>
[quoted text clipped - 40 lines]
>Sorry I cant give u the exact error messages, they are in Dutch since
>we have the dutch XP and Office... 8(
Doug Robbins - 25 Sep 2004 10:55 GMT
Following on from Steve (aka Word Heretic)'s response, or the macros were
actually created in the Normal.Dot template and therefore not in the
"Template" that you "created" by renaming the document as a template.
When you select New from the File menu, you should check the Template radio
button and then immediately save and name the templated before creating any
macros in it. Then when creating macros, make sure that template is
selected in the "Macros in" control on the Tools>Macro>Macros dialog when
you go to create a macro.

Signature
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.
Hope this helps,
Doug Robbins - Word MVP
> Hi,
>
[quoted text clipped - 40 lines]
> Sorry I cant give u the exact error messages, they are in Dutch since
> we have the dutch XP and Office... 8(