Microsoft Office Document Imaging

R

Rob

Hi

I'm trying to print programatically using the Microsoft Office Document
Image Writer. There is a checkbox giving me the option to open the document
after printing. I have this unticked, and it remembers my choice when I go
back into the same dialogue. On a previous post, the registry key below was
identified as where this setting is saved. My problem is that when I print
from code, the key is ignored and the document opens as if I'd ticked the
box. Any help much appreciated.

Thanks

Rob

'Reg Key
'HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\MODI\MDI writer DWORD
OpenInMODI=0

'Code
Application.ActivePrinter = "Microsoft Office Document Image Writer on Ne01:"
AttachmentBook.Sheets.PrintOut PrintToFile:=True, PrToFileName:=Attachment
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top