Hi Sue
An AutoText saves only the text (no formatting) if, when you create it, you
just select the text, and not the paragraph mark at the end of the
paragraph. If you select the paragraph mark, then the AutoText will include
its formatting. By "formatting" I mean both the style and any direct
formatting applied to the text.
If that isn't enough to help solve your problem, then I think we need some
more information. For example:
>I have recently set up a new template at work
In Word, a template is a .dot file, normally saved in the user's User
Templates or Workgroup Templates folder. Is that what you've done?
>and recorded a macro
Is the macro in the .dot template file?
>even though the normal template is set to paragraph format
> 0pt before and after
Here's where I get confused. If you've created a new template, then the
styles in normal.dot don't affect either your new template or documents
created from it. So I'm not sure how normal.dot comes into play here.
> I recorded a macro today, so that a next page would be inserted
If you're creating several letters (ie pieces of correspondnece) in one
document (ie in one file), then you might be better with a section break.
This will allow you to start the page numbering again at 1 for the second
and subsequent letter, and allow any headers or footers designed for the
first page of the letter to function properly.
> with full template
A template is a .dot file. So I'm not sure what this means.
> and this appeared to work when blank, but I found that once I had
> written a letter, the next page through the macro simply repeated the
> previous letter word for word.
Then post us the code you're using. And, tell us what about the general
purpose of your template and macros.
The following might also help:
What is the relationship between a Word document and its template?
http://www.ShaunaKelly.com/word/templaterelations/index.html
Hope this helps.
Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word
>I have recently set up a new template at work and recorded a macro so that
> individual users have a document which is tailored to their specific
[quoted text clipped - 25 lines]
>
> SLG
Sue Godwin - 12 Nov 2006 15:17 GMT
Thanks for that. I think I've resolved the problem by setting new styles
for each part of the document. It now merely remains for me to reset the
various autotext entries to match the styles created.