Hi all,
I have a spreadsheet at work where users can print a worksheet by pressing a button on a userform. However, the users have now asked for an option of cancelling the print if they feel it is taking too long to be sent to the network printer. In other words at any time between when the data starts to be spooled to the printer and when the print job is completed. Is there any way this could be done in VBA?
At the moment, I've added an interim solution via the BeforePrint event, where a message box appears asking the user whether they want to start or cancel the printing. If they select cancel, then printing stops before the data even gets sent to the printer, but it would be great if there is a way of doing the above?
Any help is greatly appreciated.
Chris
I have a spreadsheet at work where users can print a worksheet by pressing a button on a userform. However, the users have now asked for an option of cancelling the print if they feel it is taking too long to be sent to the network printer. In other words at any time between when the data starts to be spooled to the printer and when the print job is completed. Is there any way this could be done in VBA?
At the moment, I've added an interim solution via the BeforePrint event, where a message box appears asking the user whether they want to start or cancel the printing. If they select cancel, then printing stops before the data even gets sent to the printer, but it would be great if there is a way of doing the above?
Any help is greatly appreciated.
Chris