Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Lock sheet tabs option in a specific workbook

I want to Lock sheet tabs option in a specific workbook / worksheet & not for
all workbooks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Lock sheet tabs option in a specific workbook

Have you try my answer in your other thread

You can disable Options in the Tools menu

Application.CommandBars("Worksheet Menu Bar").FindControl _
(ID:=522, Recursive:=True).Enabled = False

See also
http://www.rondebruin.nl/menuid.htm


--
Regards Ron de Bruin
http://www.rondebruin.nl



"Tarique" wrote in message ...
I want to Lock sheet tabs option in a specific workbook / worksheet & not for
all workbooks.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Lock sheet tabs option in a specific workbook

Well Ron thanks for answer but the problem is that this code lock the
permanently option command for all others workbook also. I want to lock the
options / Sheet tabs for a single worksheet but not for all.

"Ron de Bruin" wrote:

Have you try my answer in your other thread

You can disable Options in the Tools menu

Application.CommandBars("Worksheet Menu Bar").FindControl _
(ID:=522, Recursive:=True).Enabled = False

See also
http://www.rondebruin.nl/menuid.htm


--
Regards Ron de Bruin
http://www.rondebruin.nl



"Tarique" wrote in message ...
I want to Lock sheet tabs option in a specific workbook / worksheet & not for
all workbooks.




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Lock sheet tabs option in a specific workbook

See the link I posted
http://www.rondebruin.nl/menuid.htm

You can find a example that use the activate and deactivate event
See number 3 (information)

--
Regards Ron de Bruin
http://www.rondebruin.nl



"Tarique" wrote in message ...
Well Ron thanks for answer but the problem is that this code lock the
permanently option command for all others workbook also. I want to lock the
options / Sheet tabs for a single worksheet but not for all.

"Ron de Bruin" wrote:

Have you try my answer in your other thread

You can disable Options in the Tools menu

Application.CommandBars("Worksheet Menu Bar").FindControl _
(ID:=522, Recursive:=True).Enabled = False

See also
http://www.rondebruin.nl/menuid.htm


--
Regards Ron de Bruin
http://www.rondebruin.nl



"Tarique" wrote in message ...
I want to Lock sheet tabs option in a specific workbook / worksheet & not for
all workbooks.






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 can I lock specific cells w/o having to protect entire sheet? J. Becker Excel Worksheet Functions 3 June 28th 09 02:13 AM
option view (Sheet Tabs) Tarique Excel Programming 1 July 6th 06 10:47 PM
Select sheet tabs in workbook & save to separate workbook files stratocaster Excel Worksheet Functions 2 March 1st 06 03:35 PM
DisplayWorkbookTabs: How to mirror Sheet Tabs option? Glenn Excel Programming 2 January 30th 06 05:30 PM
Sheet tabs are hidden...option is checked okamico Excel Discussion (Misc queries) 4 January 12th 06 09:14 PM


All times are GMT +1. The time now is 04:14 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"