I have a sheet with a custom button on it from where I control the printing process.
Now the user clicks on the menu bar’s print icon and this produces an ‘undefined’ output.
How can I intercept this menu bar button?
- Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Handle the Workbook_BeforePrint event.
In MS Word, it’s also possible to redefine the system macro itself. You’d have to create a macro named
FilePrint(), and Word would call it instead its own. A pity you can’t do that in Excel.