I have some trouble with a vba macro excel printing some document.
My macro transform into pdf each file into a folder.
But each time the method "cPrintFile" is called, a form is show to confirm the default printer choice. We have a lot of document in the folder to transform into pdf so it's quite annoying.
I tried :
- To modify the regedit adding "NoConfirmMessageSwitchingDefaultprinter" option
- Adding "NoConfirmMessageSwitchingDefaultprinter" option in the code
- To modify the application options
This problem happens since we don't have administrator rights on our desktop.
Can anyone help me please?