PC Review


Reply
Thread Tools Rate Thread

Disable print from standard toolbar button

 
 
mooresk257
Guest
Posts: n/a
 
      2nd Jun 2010
Hi Folks,

I have a workbook where I want users to be able to print only from the print
controls I have on the worksheets. I have disabled all the print controls
using:

Private Sub Workbook_Activate()
Dim Ctrl As Office.CommandBarControl
For Each Ctrl In Application.CommandBars.FindControls(ID:=4) 'print
Ctrl.Enabled = False
Next Ctrl
End Sub

However, the print button on the standard toolbar is still active. How do I
disable this too?

Thanks,

Scott
 
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 print from standard toolbar button mooresk257 Microsoft Excel Programming 1 2nd Jun 2010 02:53 PM
disable print button in toolbar =?Utf-8?B?UGF0cmljaWE=?= Microsoft Access Forms 2 3rd May 2007 03:52 PM
Disable Print Button on Toolbar =?Utf-8?B?TWljaGFuaWtlcg==?= Microsoft Access Form Coding 6 1st May 2006 10:21 PM
I can't delete a toolbar button from the standard toolbar =?Utf-8?B?R3JhbmRtYUphbmV0?= Microsoft Word Document Management 1 19th May 2005 04:16 AM
Media Center Toolbar Button Missing on IE Standard Toolbar =?Utf-8?B?YWxmMzBh?= Windows XP Internet Explorer 3 19th Dec 2004 04:51 PM


Features
 

Advertising
 

Newsgroups
 


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