View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Andoni[_42_] Andoni[_42_] is offline
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