Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
is there a way to prevenbt printing of a sheet if certain cells are not
filled in when they hit the button to print? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Buttons and Macros | Excel Discussion (Misc queries) | |||
Macros and buttons | Excel Worksheet Functions | |||
Macros And Buttons | Excel Discussion (Misc queries) | |||
Buttons and macros? | Excel Discussion (Misc queries) | |||
buttons & macros | Excel Worksheet Functions |