+ Reply to Thread
Results 1 to 4 of 4

Lock sheet tabs option in a specific workbook

  1. #1
    Tarique
    Guest

    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. #2
    Ron de Bruin
    Guest

    Re: 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" <[email protected]> wrote in message news:[email protected]...
    >I want to Lock sheet tabs option in a specific workbook / worksheet & not for
    > all workbooks.




  3. #3
    Tarique
    Guest

    Re: 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" <[email protected]> wrote in message news:[email protected]...
    > >I want to Lock sheet tabs option in a specific workbook / worksheet & not for
    > > all workbooks.

    >
    >
    >


  4. #4
    Ron de Bruin
    Guest

    Re: 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" <[email protected]> wrote in message news:[email protected]...
    > 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" <[email protected]> wrote in message news:[email protected]...
    >> >I want to Lock sheet tabs option in a specific workbook / worksheet & not for
    >> > all workbooks.

    >>
    >>
    >>




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1