VBA word: deployment

S

sharon3874

I am new in VBA and I am kind of confused now.

I created a word document with some macros in it. one of the things
that I did was to add an extra menu item to the short-cut
menu(right-click menu), and it will popup a small window...It worked
well on my machine, but it didn't work when I put my word document on
to the server.(I want other people to use it too.) when my co-worker
opened up the same document from the server on her desktop, the menu
item added didn't show up. however, macros were there.

is this normal? how to let other people to use the word document on
their desktops? should there be any special deployment process?

Thanks in advance.
 
J

Jonathan West

sharon3874 said:
I am new in VBA and I am kind of confused now.

I created a word document with some macros in it. one of the things
that I did was to add an extra menu item to the short-cut
menu(right-click menu), and it will popup a small window...It worked
well on my machine, but it didn't work when I put my word document on
to the server.(I want other people to use it too.) when my co-worker
opened up the same document from the server on her desktop, the menu
item added didn't show up. however, macros were there.

is this normal? how to let other people to use the word document on
their desktops? should there be any special deployment process?

Thanks in advance.

Hi Sharon

You'll find these articles useful

What do Templates and Add-ins store?
http://www.word.mvps.org/FAQs/Customization/WhatTemplatesStore.htm


Distributing macros to other users
http://www.word.mvps.org/FAQs/MacrosVBA/DistributeMacros.htm


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 
S

sharon3874

Jonathan,
Thank you very much!!

Actually, I didn't create any template, I just added macros to an
individual document.

Must I need a template to distribute?? Is there a way to only
distribute a single document?

Thanks again.
 
J

Jonathan West

sharon3874 said:
Jonathan,
Thank you very much!!

Actually, I didn't create any template, I just added macros to an
individual document.

Must I need a template to distribute?? Is there a way to only
distribute a single document?

If you want other people to use it, then it will probably have to go in a
template, otherwise other people's security settings will refuse to run the
macros.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.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