Hi,
I have set a reference in my VBA project to Mocrosoft Office Document Imaging 12.0 Type Library and am using th efollowing code :-
Dim miDoc As MODI.Document
Set miDoc = New MODI.Document
miDoc.Create ("O:\SSHEETS\testdoc.pdf")
but I get a runtime error :-
Run-time error '-959967229 (c6c81003)':
Automation Error
Other MODI code I have seen is the same as this. does anyone know why I am getting this error
Thanks
P