K
Kailash
Hi All,
I'm trying to use VBA to create new documents from a Form with a
filename from one of the fields in the documents. Any idea how to do
that?
current code:
With ActiveDocument.MailMerge
.Destination = wdSendToNewDocument
.MailAsAttachment = False
.MailAddressFieldName = ""
.MailSubject = ""
.SuppressBlankLines = True
With .DataSource
.FirstRecord = .ActiveRecord
.LastRecord = .ActiveRecord
End With
.Execute Pause:=True
End With
Thanks
Kailash
I'm trying to use VBA to create new documents from a Form with a
filename from one of the fields in the documents. Any idea how to do
that?
current code:
With ActiveDocument.MailMerge
.Destination = wdSendToNewDocument
.MailAsAttachment = False
.MailAddressFieldName = ""
.MailSubject = ""
.SuppressBlankLines = True
With .DataSource
.FirstRecord = .ActiveRecord
.LastRecord = .ActiveRecord
End With
.Execute Pause:=True
End With
Thanks
Kailash