-
Solved: AutoText Formatting
Hi, If in Word I create an autotext entry that has formatting it seems to save fine and if I then select that it inserts correctly with the right formatting.
However, if I insert the autotext through code using:
[VBA] ActiveDocument.AttachedTemplate.AutoTextEntries("_CVEntry").Insert Where:= _
Selection.Range[/VBA]
It inserts, but does not include the formatting.
Does anyone know how I can get around this?
-
[VBA]
ActiveDocument.AttachedTemplate.AutoTextEntries("_CVEntry").Insert Where:= _
Selection.Range, RichText:=True
[/VBA]
-
thanks geekgirl, worked perfectly.
So easy when you know how
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules