I am working on a template. I have several autotext entries that will be placed in the template based on the choices a user makes in a user form. Putting 1 autotext entry in works fine... subsequent autotext entries merely overwrite the previous (or first) so that in the end the only autotext entry to make it is the last.
Here is what I've got...
Suggestions?
strebor
Here is what I've got...
Code:
Private Sub InsertTheComponents()
Set rng = ActiveDocument.Sections(2).Range
Selection.Collapse Direction:=wdCollapseEnd
NormalTemplate.AutoTextEntries("Determine Asset Assignment").Insert Where:=rng, _
RichText:=True
NormalTemplate.AutoTextEntries("Verifying User").Insert Where:=rng, _
RichText:=True
Selection.Collapse Direction:=wdCollapseEnd
NormalTemplate.AutoTextEntries("Verification IP Address").Insert Where:=rng, _
RichText:=True
Selection.Collapse Direction:=wdCollapseEnd
NormalTemplate.AutoTextEntries("Assigned UserIDs").Insert Where:=rng, _
RichText:=True
Selection.Collapse Direction:=wdCollapseEnd
NormalTemplate.AutoTextEntries("Computer Time Synchronization").Insert Where:=rng, _
RichText:=True
Selection.Collapse Direction:=wdCollapseEnd
NormalTemplate.AutoTextEntries("Proxy Services").Insert Where:=rng, _
RichText:=True
End Sub
Suggestions?
strebor