RE: How do I "insert" a Word macro from someone else?

Subject: RE: How do I "insert" a Word macro from someone else?
From: "Martin Polley" <Martinp -at- Surf-com -dot- com>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Mon, 4 Nov 2002 16:50:31 +0200


An addendum to Geoff's excellent explanation:

If you received the macro as text in an HTML email, the HTML may have
introduced unwanted line breaks. Look out for these, and delete them.

(Thus spake the voice of experience...)

HTH,

Martin Polley
Technical Communicator
http://www.surf-com.com/
martinp -at- surf-com -dot- com
Tel: (+972) (4) 9095-732
Mobile: (053) 864-280
ICQ 15617901

Hlade's Law: If you have a difficult task, give it to a lazy person.
They will find an easier way to do it.




-----Original Message-----
From: Hart, Geoff [mailto:Geoff-H -at- MTL -dot- FERIC -dot- CA]
Sent: Monday, November 04, 2002 4:46 PM
To: TECHWR-L
Subject: How do I "insert" a Word macro from someone else?



Tricia Salese reports: <<Someone sent me an excellent Macro for Word
2000, and I have no idea how to copy it into Word.>>

Two possible ways. First and easiest, if the macro was sent within a
Word file, use the macro organizer. Open the Word template in which you
want to store the macro. Open the Tools menu and select Macro, then
Macros. Click the last button (Organizer...). In the Organizer dialogue
box, click the Close File button beneath the other document being
displayed, not the button below your template. This button now becomes
an Open File button you can click to select the file that contains the
new macro. Select the name of the macro, then click the Copy--> button
to transfer it. (The arrow shows the direction in which the macro will
be copied.)

Second, if the macro is sent via e-mail, select it and copy it. Open the
desired template that will hold the macro. Open the Tools menu, then
select Macro and Visual Basic Editor. (Depending on how Word 2000 is
configured, you may also have to select the appropriate "project"; this
will be associated with the template in which you want to store the new
macro.) Paste the copied macro at a suitable location within the window
that displays existing code, making sure not to wipe out any existing
macro code that you need. Depending on how much header text was provided
with the new macro, and how much macro text already existed in the
template, you may need to edit the text to remove redundant header
information and make the two sets of code work together. Check the
online help on macros for details on how to do this; it's a longer task
than I have time for to describe how to use Word's visual basic editor.

--Geoff Hart, geoff-h -at- mtl -dot- feric -dot- ca
Forest Engineering Research Institute of Canada
580 boul. St-Jean
Pointe-Claire, Que., H9R 3J9 Canada
"User's advocate" online monthly at
www.raycomm.com/techwhirl/usersadvocate.html

"With Linux, customers end up being in the operating systems business,
managing software updates and security patches while making sure the
multitude of software packages don't conflict with each
other."--Microsoft spokesperson in a News.com article

"And just how would that be different from Windows?"--Adam Engst,
TidBITS

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Check out SnagIt - The Screen Capture Standard!
Download a free 30-day trial from http://www.techsmith.com/rdr/txt/twr
Find out what all the other tech writers, including Dan, already know!

All-new RoboHelp X3 is now shipping! Get single sourcing, print-quality
documentation, conditional text and much more, in the most monumental
release ever. Save $100! Order online at http://www.ehelp.com/techwr-l

---
You are currently subscribed to techwr-l as:
archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit
http://www.raycomm.com/techwhirl/ for more resources and info.



Previous by Author: RE: Visio and File Size...
Next by Author: RE: STC Letter to the Editor
Previous by Thread: How do I "insert" a Word macro from someone else?
Next by Thread: Re: How do I "insert" a Word macro from someone else?


What this post helpful? Share it with friends and colleagues:


Sponsored Ads