Below is some code to print the active sheet to a PDF, works great. The issue is if the user leaves the PDF viewer open and clicks to print again I get an error, see below. Can anyone help with stopping the macro from running to prevent an accidental error?
Capture.PNG
![]()
Please Login or Register to view this content.
Bookmarks