M
Mike
I want to change the record Delimiter in a mail merge in
word. I know if I change it in my datasource file and
open it with the MailMerge.OpenDataSource command in VB it
puts up the Dialog Titled "Header Record Delimiters"
asking me to change the Field and Record Delimiters. Can
I set these two Delimiters in Word 2000 or greater before
I call the MailMerge.OpenDataSource in vb so the dialog
will not show up? This is an issue for me because one of
my field need to contain a cr and a lf in it. I tried
putting the cr and lf inside quotes. That work except that
the quotes also showed up in the merged doc
Example
Public Sub AddCCToList(sCC As String)
If (Len(msCCList) > 0) Then
msCCList = msCCList & Chr(34) & Chr(13) & Chr(10)
& Chr(34) & sCC
Else
msCCList = sCC
End If
End Sub
Gave me the results
Jim Hays"
"Greg Scott
thanks
Mike
word. I know if I change it in my datasource file and
open it with the MailMerge.OpenDataSource command in VB it
puts up the Dialog Titled "Header Record Delimiters"
asking me to change the Field and Record Delimiters. Can
I set these two Delimiters in Word 2000 or greater before
I call the MailMerge.OpenDataSource in vb so the dialog
will not show up? This is an issue for me because one of
my field need to contain a cr and a lf in it. I tried
putting the cr and lf inside quotes. That work except that
the quotes also showed up in the merged doc
Example
Public Sub AddCCToList(sCC As String)
If (Len(msCCList) > 0) Then
msCCList = msCCList & Chr(34) & Chr(13) & Chr(10)
& Chr(34) & sCC
Else
msCCList = sCC
End If
End Sub
Gave me the results
Jim Hays"
"Greg Scott
thanks
Mike