Re: A very visually basic question



First, don't use macros for repeating text. Its the wrong tool. Use AutoText
or AutoCorrect.

It sounds like you saved your template with the text showing. When you
create a new document based on a template, it will show whatever text is in
the template.

http://word.mvps.org/FAQs/MacrosVBA/VBABasicsIn15Mins.htm
http://word.mvps.org/FAQs/Customization/AutoCorrect.htm
http://word.mvps.org/FAQs/Customization/AutoText.htm

For more on the different kinds of templates, tabs on the file new dialog,
and locations of templates folders see
http://addbalance.com/usersguide/templates.htm.

I suspect that you have moved from Word Perfect, where macros are used to
repeat text. If so and if you would like some suggestions on making Word
easier to use, reply back.
--

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://word.mvps.org/FAQs/ 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.

"Wallace" <wallace@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9B7D0B57-D194-44A8-8067-954AC23BC813@xxxxxxxxxxxxxxxx
I want to put a macro in a template I have (Word 2003). I open the template
and go to Tools>Macros>Record Macro. I assign the macro a name and tell
Word
I want to store it in this template. Then I record the macro. I save and
close the template.

I open a new document from that template and sure enough, there's the text
of my macro, just as I typed it. It doesn't do anything - it just sits
there
in the template, for all the world to see.

What (or should I say how many things) have I done wrong?

--
Wallace


.



Relevant Pages

  • Re: How do I create an message box when opening a Word document?
    ... You should put the macro in the template from which the documents are being ... Microsoft's Legal Users' Guide) http://addbalance.com/usersguide ... This message is posted to a newsgroup. ...
    (microsoft.public.word.vba.general)
  • Re: Show Folder index list in word document
    ... Please reply to the newsgroup unless you wish to avail yourself of my ... When I place my path in there, it runs the macro ... Sub Autonew() ... regarding your suggestion for making this a template file. ...
    (microsoft.public.word.pagelayout)
  • Re: Understanding Macros
    ... I have the newly created macro toolbar on the template. ... There is no panel on the left of the screen that opens that looks like ...
    (microsoft.public.word.docmanagement)
  • RE: word error
    ... your Normal.dot template may be infected with a macro virus. ... How to remove WLL add-ins and templates in the Word and Office Startup ... Startup folder is causing the problem, ...
    (microsoft.public.office.misc)
  • Re: creating a template with just one item repeated through out the pa
    ... keep one cell as master and the rest are just slaves. ... transferred to all the other cells using the macro at ... Save the label document as a template and add the macro to that ... It's not the layout that's the problem, it's the repeating of the ...
    (microsoft.public.word.docmanagement)