more help on using buttons and Macros?

  • Thread starter Thread starter Matt
  • Start date Start date
M

Matt

is there a way to prevenbt printing of a sheet if certain cells are not
filled in when they hit the button to print?
 
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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top