I have a word merge from vb.net application that works fine on other machines but on mine the source document suppress spaces in between column headers and errors out expected header in source doc sampledata1 sampledata2 samp3
created sampledata1sampledata2samp3
Private mstrMailMergeFields As String = "CL_Number, Name, CO_NAME" Dim strTemplateFileName As String Dim strSourceFileName As String
Dim strSignatureFilePath As String = ""
Dim wordApp As Microsoft.Office.Interop.Word.Application = Nothing
Dim wordDoc As Microsoft.Office.Interop.Word.Document = Nothing
Dim wordDocSource As Microsoft.Office.Interop.Word.Document = Nothing
Dim wordDocResult As Microsoft.Office.Interop.Word.Document = Nothing
any direction on help is appreciated
Figured it out the regional settings in word has a field for separator was "!" instead of "," this was messing the header changed it and it worked fine.