Programatically joining templates?

vendredi 27 février 2015

To cut a long story short, is there a way to join a template from a VBA loop?



eg - for a simple doc, I do:




Code:



for a = 0 to x

Documents.Add Template:=sName + "file.dot"

With ActiveDocument

' add bookmark stuff etc

End with

Next x



Now, depending in the selection in the userform, they may create one or more copies of the same file.dot (with different information in each)



Rather than output multiple docs, how can I join the outputted doc as one document?



Note - this is just one of about 20 different templates in the project.

Programatically joining templates?

0 commentaires:

Enregistrer un commentaire

Labels