Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Disable printPreview's Print Control! is it possible????

Hi, and Many Thanks in Advance!

Using the following code:

For Cbar = 1 To Application.CommandBars.Count
For Each Ctl In CommandBars(Cbar).Controls
Application.CommandBars(Cbar).FindControl(Id:=4
Recursive:=True).Enabled = False
Next Ctl
Next Cbar

I can disable the different CommandBars print Controls,
but the printPreview Print Control is still enabled

1) Is it possible to disable it, and how??

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Disable printPreview's Print Control! is it possible????

Try doing it with ID=109

Print Pre&view=109 ... at least for XL2003 and 200

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Disable printPreview's Print Control! is it possible????

with 109, I will disable the printpreview.

i know that.


But:

is it possible, enable the PrintPreview controls and disable the Prin
control located within the PrintPreview

--
Message posted from http://www.ExcelForum.com

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I disable the ActiveX Control prompt? Keith Excel Discussion (Misc queries) 0 May 18th 05 09:58 AM
Disable Excel Control sebastienm Excel Programming 1 August 11th 04 08:01 PM
Disable Excel Control Jim Rech Excel Programming 0 August 11th 04 07:23 PM
Disable control down (cntl D) on a worksheet mcpheat Excel Programming 1 September 17th 03 12:52 PM
Disable Control s Dave[_18_] Excel Programming 0 July 17th 03 05:59 PM


All times are GMT +1. The time now is 11:42 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"