View Single Post
 
Old 07-10-2019, 07:54 PM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,137
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

The code should go in a new VBA module.
Select a message and run the macro TestPrint from the VBA editor.
If Sleep needs to be changed you will get an error message about the missing file.
Do you get any other error messages? Try commenting out the on error lines and see if that prompts a crash..
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote