Macro that inserts Autotext loses styles of Autotext entry

A

Aaron

I've been attempting to have
an ActiveX command button to
insert an AutoText entry. When
the AutoText entry is inserted,
all the styles and formatting
from the entry are stripped.

Am I missing "preserve formatting"
flag or something?

Take courage,
Aaron
 
L

Larry

You need the RichText:=True argument, as below:

NormalTemplate.AutoTextEntries("dfre").Insert Where:=Selection.Range,
RichText:=True

Larry
 
Top