M
Mike Molyneaux
Running 2003 on xp pro.
have latest updates on both.
receive run-time error '5852':
requested object is not available.
code runs find on office 2000 & nt4, sp6
code:
with activeDocument.MailMerge
.Destination = wdSendToNewDocument 'Error on this line'
.SuppressBlankLines = False
with .DataSource
.FirstRecord = wdDefaultFirstRecord
.LastRecord = wdDefaultLastRecord
end with
.execute Pause:=False
end with
code created by recording macro as doing the merge
the merge worked fine as I recorded macro.
now get vb error
any help greatly appreciated
Mike
have latest updates on both.
receive run-time error '5852':
requested object is not available.
code runs find on office 2000 & nt4, sp6
code:
with activeDocument.MailMerge
.Destination = wdSendToNewDocument 'Error on this line'
.SuppressBlankLines = False
with .DataSource
.FirstRecord = wdDefaultFirstRecord
.LastRecord = wdDefaultLastRecord
end with
.execute Pause:=False
end with
code created by recording macro as doing the merge
the merge worked fine as I recorded macro.
now get vb error
any help greatly appreciated
Mike