in reply to OLE print to a file

There is a parameter in your OLE-function with a silly Name like 'InteractionAllowed' or so. If you don't allow Interaction no Dialog is shown.