I am completely new to Excel VBA scripts. Is there some way to increment a certain cell – e.g. cell 7D – each time there is a print event?
I am completely new to Excel VBA scripts. Is there some way to increment
Share
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.
Yes, you need to read about the Workbook.BeforePrint event. This is covered in MSDN. However you’d need to be careful about what happens if you click “Print” but then cancel the print dialog, if you are trying to count the number of times the document has been printed for example.