Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Disable the "customize" window

Hi

I would like to disable the access to the "customize" wiñdow.
I know to make it by disabling the menu item in "tools" menu and selectimg
it with the pop-up menu by clicking with the right key of mouse, like the
code wiitten below show:

Application. CommandBars("Tools").Controls(16).Enabled = False
Application. CommandBars("ToolBar List").Enabled = False

But remaims the access with double click of the mouse.

Anybody knows how to make it?

Thanks

Rui Álvares

email:


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Disable the "customize" window

Maybe:

Application.CommandBars.DisableCustomize = True

would work.

I think that this was added in xl2002. Are you going to run this in earlier
versions?

Jim Rech suggested this for previous versions--it disables all the double
clicking:

Sub SetDoubleClick()
Application.OnDoubleClick = "DoNothing"
End Sub

Sub DoNothing()
End Sub

Rui Alvares wrote:

Hi

I would like to disable the access to the "customize" wiñdow.
I know to make it by disabling the menu item in "tools" menu and selectimg
it with the pop-up menu by clicking with the right key of mouse, like the
code wiitten below show:

Application. CommandBars("Tools").Controls(16).Enabled = False
Application. CommandBars("ToolBar List").Enabled = False

But remaims the access with double click of the mouse.

Anybody knows how to make it?

Thanks

Rui Álvares

email:


--

Dave Peterson
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
Disable autoformat of "true" and "false" text drs207 Excel Discussion (Misc queries) 6 April 14th 23 05:33 PM
how can I disable "cutting cells" and "drag and drop "in excel ? mwoody Excel Worksheet Functions 4 August 25th 08 03:53 PM
Can I "customize" an autoformat report for a Pivot Table in Excel Nancy Excel Discussion (Misc queries) 1 April 6th 06 01:58 AM
freeze window creates multiple "views" suffixed with ":n" dgaex001 Excel Discussion (Misc queries) 5 March 22nd 06 05:28 PM
Disable "Save" &/or "Close" universal[_4_] Excel Programming 3 October 25th 03 12:38 PM


All times are GMT +1. The time now is 05:25 AM.

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"