Embedding a macro

I

ib_redbeard

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
 
C

Charles Kenyon

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.
 
J

Jonathan West

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
 

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