Embedding a macro

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

Guest

I have a macro that I created in Word 2002. For the document to run
correctly, it needs to be run on the host computer. Is there a way to embed
this macro with the file, so that when I e-mail it, the macro will be
installed upon opening the file? I know very little of macros. Thanks in
advance
 
You can certainly save it in the file. The problem is that when the
recipient gets it, their macro security settings may prevent it from running
anyway, often without any notice.

You can record macros directly in documents. For an already created macro,
use the vb editor and copy to the document.
--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
ib_redbeard said:
I have a macro that I created in Word 2002. For the document to run
correctly, it needs to be run on the host computer. Is there a way to
embed
this macro with the file, so that when I e-mail it, the macro will be
installed upon opening the file? I know very little of macros. Thanks in
advance

Viruses get spread that way, and Word has means to protect itself from
macros being run that way.

take a look here for a better approach

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