How do I store a macro somewhere other than normal.dot 
Author Message
 How do I store a macro somewhere other than normal.dot

I select "Record new macro"
Call it 'testmacro'

Start record
type  "This is a test".
Stop record

Save as Template  Newdotfile.dot

So why is the new macro stored in normal.dot and not in Newdotfile.dot?

word 2000
Thanks

Tony



Mon, 09 Aug 2004 20:59:20 GMT  
 How do I store a macro somewhere other than normal.dot
Hi Tony,

I think that's the default location. If you want store it elsewhere, simply
highlight the routine and use keyboard shortcuts (CTRL+C [to copy only]
CTRL+X [to copy and cut]) to put a copy of the macro on the clipboard.
Navigate to the location in the module in which you want to store the macro
and press CTRL+V to paste the routine.

If you want to copy a module from one project to another, you can use the
project explorer in VBE and drag the module from one project to another.

HTH

Quote:
> I select "Record new macro"
> Call it 'testmacro'

> Start record
> type  "This is a test".
> Stop record

> Save as Template  Newdotfile.dot

> So why is the new macro stored in normal.dot and not in Newdotfile.dot?

> word 2000
> Thanks

> Tony



Mon, 09 Aug 2004 21:29:25 GMT  
 How do I store a macro somewhere other than normal.dot
Tony

1. Start by saving the template.
2. Select Tools-Macro-Record New macro, type the name AND before doing any
more select where to save the macro. There is a dropdown (combobox) in the
dialog. The title is something like  "Make macro available in...". . Select
your new template and go ahead recording the actions.

--
/Anna Bohman
Bra Utbildning AB, Sweden

http://www.buab.se
-------------------------------------------------------------------------


Quote:
> I select "Record new macro"
> Call it 'testmacro'

> Start record
> type  "This is a test".
> Stop record

> Save as Template  Newdotfile.dot

> So why is the new macro stored in normal.dot and not in Newdotfile.dot?

> word 2000
> Thanks

> Tony



Mon, 09 Aug 2004 21:20:26 GMT  
 How do I store a macro somewhere other than normal.dot
Hi Tony,

Dave's excellent instructions apply to working within the Visual Basic
Editor. I believe that Anna has answered your original question. To give a
final thought, within Word you can move all of the macros in a particular
"module" to another template using the Organizer. Tools => Templates and
Add-Ins => Organizer (button).
--
Charles Kenyon

Word New User FAQ & Web Directory:
<URL: http://addbalance.com/word/index.htm>

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

See also the MVP FAQ: <URL: 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.


Quote:
> Hi Tony,

> I think that's the default location. If you want store it elsewhere,
simply
> highlight the routine and use keyboard shortcuts (CTRL+C [to copy only]
> CTRL+X [to copy and cut]) to put a copy of the macro on the clipboard.
> Navigate to the location in the module in which you want to store the
macro
> and press CTRL+V to paste the routine.

> If you want to copy a module from one project to another, you can use the
> project explorer in VBE and drag the module from one project to another.

> HTH


> > I select "Record new macro"
> > Call it 'testmacro'

> > Start record
> > type  "This is a test".
> > Stop record

> > Save as Template  Newdotfile.dot

> > So why is the new macro stored in normal.dot and not in Newdotfile.dot?

> > word 2000
> > Thanks

> > Tony



Mon, 09 Aug 2004 22:08:26 GMT  
 How do I store a macro somewhere other than normal.dot
I used the dropdown menu as Anna described - excellent!  Thanks. These
things are so easy if you know how!

I've dabbled with the other suggestions and will make proper use of
them in later projects.
........
I actually understand xl VBA moderately well (well, relatively
speaking). In Excel know where everything is stored, and how to juggle
things around etc, but I find Word unclear in lots of ways.  (like
storing different autotext in different styles to so that the autotext
appears in differently titled sub-menus -something I can more or less
manage, but I just don't find it intuitive)

Thanks again.

Tony



Tue, 10 Aug 2004 23:13:43 GMT  
 How do I store a macro somewhere other than normal.dot
Hi Tony,

It's normal to be confused by Word VBA after knowing Excel VBA, and
vice versa.  They aren't nearly as alike as you'd expect, and it's
always frustrating.  But if you want an even bigger jolt, check out
PowerPoint VBA, especially the weird setup for add-ins and the extra
ballet you have to go through just to make macros available to all
presentations.  It had me scowling really hard.  ;)


-- See the MVP FAQ at http://www.mvps.org/word --------------------------
----------------- "Life is nothing if you're not obsessed." --John Waters
-------------------------------------------------------------------------
Reply to group ONLY. Do not attach files. MVPs do not work for Microsoft.

Quote:

> I used the dropdown menu as Anna described - excellent!  Thanks. These
> things are so easy if you know how!

> I've dabbled with the other suggestions and will make proper use of
> them in later projects.
> ........
> I actually understand xl vba moderately well (well, relatively
> speaking). In Excel know where everything is stored, and how to juggle
> things around etc, but I find Word unclear in lots of ways.  (like
> storing different autotext in different styles to so that the autotext
> appears in differently titled sub-menus -something I can more or less
> manage, but I just don't find it intuitive)

> Thanks again.

> Tony



Wed, 11 Aug 2004 05:59:29 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. Password Protected Macro in Normal.dot

2. Execute macro in normal.dot

3. Execute Macro in normal.dot

4. copying macros to a new normal.dot

5. macros in templates other than normal.dot

6. Install/Reinstall of a macro into my Normal.dot

7. normal.dot and macros

8. template question/normal.dot/autonew macro

9. template question/normal.dot/autonew macro

10. Normal.dot and R.dot

11. normal.dot and pdfwriter97.dot

12. Normal.dot or Personal.dot

 

 
Powered by phpBB® Forum Software