Hi to all,
A Selection of Data Source Box is prompt when execute the below code. How to elimiate the message box?
*------------------------------------------------------------*
goWord = CreateObject("Word.Application"
goWord.Visible = .T.
oDoc = goWord.Documents.Open("c:\Temp\word.doc"
oDoc.mailMerge.destination = 0
oDoc.MailMerge.OpenDataSource("C:\Temp\maildbf.dbf"
oDoc.mailMerge.execute(.F.)
results document
oDoc.close(0)
goWord.Visible = .T.
A Selection of Data Source Box is prompt when execute the below code. How to elimiate the message box?
*------------------------------------------------------------*
goWord = CreateObject("Word.Application"
goWord.Visible = .T.
oDoc = goWord.Documents.Open("c:\Temp\word.doc"
oDoc.mailMerge.destination = 0
oDoc.MailMerge.OpenDataSource("C:\Temp\maildbf.dbf"
oDoc.mailMerge.execute(.F.)
results document
oDoc.close(0)
goWord.Visible = .T.