View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Dave Shaw Dave Shaw is offline
external usenet poster
 
Posts: 21
Default BeforePrint event

I have the following macro in Excel 2003:

Private Sub workbook_BeforePrint(Cancel As Boolean)
Cancel = True
End Sub

The aim is to prevent printing. It does not seem to do anything but I don't
know why. Can anyone help?

Thanks

Dave