Thread: macro start up
View Single Post
  #7   Report Post  
Jay Freedman
 
Posts: n/a
Default

Hi oe,

Here are the steps you need:

1. In Word, click File | Open. Use the folder dropdown at the top of the
dialog and the folder icons in the display area to navigate to the Word
Startup folder (probably C:\Documents and Settings\name\Application
Data\Microsoft\Word\STARTUP). Set the "Files of type" dropdown to either
"Word template (*.dot)" or "All files (*.*)". Select the Send to.dot file
and open it.

2. Press Alt+F11 or use Tools Macro Visual Basic Editor to start the
editor.

3. In the Project pane of the VBE, expand the Send to project, expand the
Modules icon under it, and double-click the module under that. The code of
the macro should now be visible on the right.

4. Change the path in the macro to the correct one.

5. Save, close the VBE, and exit from Word.

6. Restart Word. Try using the macro -- it should work now.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org

oe wrote:
Hi Cindy

I seem to be getting very lost! If I explain precisely what I'm
trying to do, maybe you will be able to help.

Way back in 2002, I asked some questions on this group and someone
called Tonya Marshall wrote up a macro for me to do the following in
Word 2000:

On my desktop, I have a folder called "MG" for one of my clients.
I would type the documents, save them and then on the toolbar I
pressed File
Send to and the document would be sent to the MG folder on the
desktop.

When I had a few of these documents, I would email them to my client.

I had used Tools | Customize to put the 'Send to MG' macro on the File
toolbar and the Send to.dot was in the Word startup folder.

I have now copied the macro to my new PC which has Windows XP and
Word 2003.

The only difference I can see is that the MG folder's path has
changed from C:\Windows\Desktop\MG to C:\Documents and
Settings\myname\Desktop.

I have tried many things but can't get it to work. Could you please
help or direct me to where I can get help, please.

Many thanks
hkbs


"Cindy M -WordMVP-" wrote in message
news:VA.0000b282.00775dad@speedy...
Hi Oe,

When I try to step into the listed macros, I get the message
"Project is unviewable".

Ah, well, you didn't mention you were trying to step into the macro
code. You have to have the *.dot file open in order to do that. You
indeed may not VIEW the code of an Addin loaded from the Startup
folder in the VB Editor.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail :-)