Hi everyone,
This is my first post so please bear with me!
I'm using Office 2003
I'm trying to automate a mailmerge to Word from Excel. I have a button which poplulates a range in Excel & then opens Word to merge the range data into some labels.
The Excel part works fine & the Word merge document opens, but the merge fails. I have some code in the Word DocumentOpen event, which looks like this:
[vba]With ActiveDocument.MailMerge
.Destination = wdSendToNewDocument
.Execute[/vba]
However, the code fails at the:
[vba].Destination = wdSendToNewDocument[/vba]
line with the following error:
Run-time error '5852'
Requested object is not available
I'm tearing whats left of my hair out with this, has anybody got any ideas?
Many Thanks