#1   Report Post  
ib_redbeard
 
Posts: n/a
Default Embedding a macro

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
  #2   Report Post  
Charles Kenyon
 
Posts: n/a
Default

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" wrote in message
...
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



  #3   Report Post  
Jonathan West
 
Posts: n/a
Default


"ib_redbeard" wrote in message
...
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/...buteMacros.htm


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access/Word Merge Macro Kathy MacAthur Mailmerge 0 December 28th 04 07:48 AM
macro to save rtf file as txt reballdad Microsoft Word Help 1 December 20th 04 10:17 PM
Save As is not working due to macro security settings Craig Meritz Microsoft Word Help 1 December 16th 04 03:53 AM
macro help tzap_1998 Microsoft Word Help 2 December 11th 04 11:40 PM
2000 to 2002 macro and "Could not open macro storage" Art Farrell Mailmerge 1 December 6th 04 12:40 PM


All times are GMT +1. The time now is 12:32 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"