PC Review


Reply
Thread Tools Rate Thread

how to disable print button in preview

 
 
lABUDDY
Guest
Posts: n/a
 
      22nd Apr 2010
hOW DO i DISABLE PRINT BUTTON IN PRINTVIEW
 
Reply With Quote
 
 
 
 
Brian
Guest
Posts: n/a
 
      22nd Apr 2010
Add the following to your workbook code. Note that if the user has macro's
disabled it will not prevent it.

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

"lABUDDY" wrote:

> hOW DO i DISABLE PRINT BUTTON IN PRINTVIEW

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable Preview Button in Print Dialog Box Ryan H Microsoft Excel Programming 0 10th Jul 2009 03:14 PM
Disable Setup button on Print Preview screen Jon Ley Microsoft Excel Programming 3 3rd Dec 2007 09:22 AM
Disable page break preview button Frederik Vanderhaegen Microsoft Excel Programming 0 21st Dec 2004 03:15 PM
Disable Page Break Preview Button John Salig Microsoft Excel Programming 1 10th Feb 2004 10:19 AM
How do I disable the Margins button in Print Preview Window John Microsoft Excel Programming 0 23rd Jul 2003 03:43 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:10 PM.