I don't know why this is happening.
I have a database running fine in access. On my machine it loads up word, connects and runs the mailmerge fine. But as soon as its run on the machine where it needs to run, exactly the same software, it stalls on the load.
This is the code where it mucks up:
Code:Dim objWord As New Word.Application Dim objDoc As Word.Document objWord.Application.Visible = True Set objDoc = objWord.Documents.Open(filepath) objDoc.MailMerge.Destination = wdSendToNewDocument objDoc.MailMerge.Execute


LinkBack URL
About LinkBacks
Reply With Quote