M
ML
I am creating a custom form that allows the user to select an autotext entry
based on conditions they select on the form. I want to insert the autotext
item at the current cursor position using:
ActiveDocument.AttachedTemplate.AutoTextEntries("Blah").Insert
Where:=Selection.Range, RichText:=True
However if there is a character directly to the left of the cursor I need to
add a space and if one to the right I need to add a space.
Is there some way to determine this from the current cursor position?
based on conditions they select on the form. I want to insert the autotext
item at the current cursor position using:
ActiveDocument.AttachedTemplate.AutoTextEntries("Blah").Insert
Where:=Selection.Range, RichText:=True
However if there is a character directly to the left of the cursor I need to
add a space and if one to the right I need to add a space.
Is there some way to determine this from the current cursor position?