AutoText Loses Formatting When Called From Macro

R

RWN

wd2k & '97
Set up an AutoText entry (multiple paragraphs, different styles) which
works fine when called from the AutoText toolbar or typing the
name<tab>.

Recorded a macro to call it but it loses the formatting.
"ActiveDocument.AttachedTemplate.AutoTextEntries("Class - #").Insert
Where _
:=Selection.Range"
I've seen this before in other instances (recorded macro not the same as
the function) and usually figured out the changes required-not this time
though.
Checked out Help but there's not a lot to the command.

Is this one of those "that's just the way it is" things (i.e. don't
knock yourself out!)?
 
R

RWN

Thanks Charles.

Guess I didn't look far enough!
(only looked at "AutoText" and ignored the Insert Properties).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top