G
Greg Maxey
Hello,
I am playing around with an addin for Word. I have saved the addin as a
..dot file. When the addin runs creates an AutoText entry:
ActiveDocument.AttachedTemplate.AutoTextEntries.Add Name:="seqDate",
Range:=Selection.Range
I need for the entry to be stored in the addin .dot template instead of the
Normal template which is what occurs now.
I tried
TemplateNameTemplate.AutoTextEntries.Add Name:="seqDate",
Range:=Selection.Range
And
TemplateName.AutoTextEntries.Add Name:="seqDate", Range:=Selection.Range
where template name is the name of my template but I got and object error.
So I have a template that is function as an Addin. When the addin macro
runs it creates an AutoText entry. I need the entry to be stored in the
addin template and not the normal template. Thanks.
I am playing around with an addin for Word. I have saved the addin as a
..dot file. When the addin runs creates an AutoText entry:
ActiveDocument.AttachedTemplate.AutoTextEntries.Add Name:="seqDate",
Range:=Selection.Range
I need for the entry to be stored in the addin .dot template instead of the
Normal template which is what occurs now.
I tried
TemplateNameTemplate.AutoTextEntries.Add Name:="seqDate",
Range:=Selection.Range
And
TemplateName.AutoTextEntries.Add Name:="seqDate", Range:=Selection.Range
where template name is the name of my template but I got and object error.
So I have a template that is function as an Addin. When the addin macro
runs it creates an AutoText entry. I need the entry to be stored in the
addin template and not the normal template. Thanks.