![]() |
more help on using buttons and Macros?
is there a way to prevenbt printing of a sheet if certain cells are not
filled in when they hit the button to print? |
more help on using buttons and Macros?
You simply need to write a macro for the BeforePrint action:
Private Sub Workbook_BeforePrint(Cancel As Boolean) <do your test, etc. here End Sub "Matt" wrote: is there a way to prevenbt printing of a sheet if certain cells are not filled in when they hit the button to print? |
more help on using buttons and Macros?
Yes. You can trap this in the Workbook_BeforePrint event.
HTH. Best wishes Harald "Matt" wrote in message ... is there a way to prevenbt printing of a sheet if certain cells are not filled in when they hit the button to print? |
All times are GMT +1. The time now is 04:46 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com