View Single Post
 
Old 04-18-2012, 10:31 AM
JEilerts JEilerts is offline Windows 7 64bit Office 2003
Novice
 
Join Date: Apr 2012
Location: Ottawa, Ontario, Canada
Posts: 2
JEilerts is on a distinguished road
Question Autotext strings are being stripped of their format when called from VBA

Hi,
I'm been having an issue from time to time (not always which is strange) with inserting an Autotext string using VBA. I can insert them fine, but they are stripped of their format (ie bold and italic). When I manually insert them, they look perfect.

I insert the autotext string using:
ActiveDocument.AttachedTemplate.AutoTextEntries("S tring").Insert _
Where:=Selection.Range

Any thoughts?

Thanks,
J
Reply With Quote