+ Reply to Thread
Results 1 to 4 of 4

Disable toolbar drop down

Hybrid View

Guest Disable toolbar drop down 02-10-2006, 12:00 AM
Guest Re: Disable toolbar drop down 02-10-2006, 12:40 AM
Guest RE: Disable toolbar drop down 02-10-2006, 04:50 AM
Guest Re: Disable toolbar drop down 02-10-2006, 06:10 AM
  1. #1
    BobbyS
    Guest

    Disable toolbar drop down

    I have an Excel application in which I am trying to disable some options for
    protection. I have everything locked down with one exception. The user can
    still right click in the toolbar area and get the list of available
    toolbars/customize list. I need to disable this so the user cannot turn on a
    toolbar and jeopardize the workbook. I haven't been able to find any
    information as to how to do this. I have looked at API calls and haven't had
    any luck.

    Any help would be appreciatged.

  2. #2
    Jim Cone
    Guest

    Re: Disable toolbar drop down

    B,

    Application.CommandBars("Toolbar List").Enabled = False

    Jim Cone
    San Francisco, USA
    http://www.realezsites.com/bus/primitivesoftware



    "BobbyS" <BobbyS@discussions.microsoft.com> wrote in message...
    I have an Excel application in which I am trying to disable some options for
    protection. I have everything locked down with one exception. The user can
    still right click in the toolbar area and get the list of available
    toolbars/customize list. I need to disable this so the user cannot turn on a
    toolbar and jeopardize the workbook. I haven't been able to find any
    information as to how to do this. I have looked at API calls and haven't had
    any luck.

    Any help would be appreciatged.

  3. #3
    Vic Eldridge
    Guest

    RE: Disable toolbar drop down

    Hi Bobby,

    Jim's shown you how to deal with the right click, but AFAIK, there's no real
    way to prevent the Customize dialog from being shown when you double click in
    the toolbar area. I hope someone else can prove me wrong.

    Regards,
    Vic Eldridge




    "BobbyS" wrote:

    > I have an Excel application in which I am trying to disable some options for
    > protection. I have everything locked down with one exception. The user can
    > still right click in the toolbar area and get the list of available
    > toolbars/customize list. I need to disable this so the user cannot turn on a
    > toolbar and jeopardize the workbook. I haven't been able to find any
    > information as to how to do this. I have looked at API calls and haven't had
    > any luck.
    >
    > Any help would be appreciatged.


  4. #4
    keepITcool
    Guest

    Re: Disable toolbar drop down



    in xl2002 and newer:
    Commandbars.DisableCustomize=True

    Note: the dropdown indicator still shows,
    but no more customization for our dear friend: "the user"


    to prevent runtime errors code like:

    #If VBA6 Then
    If Val(Application.Version) >= 10 Then
    CallByName CommandBars, "DisableCustomize", VbLet, True
    End If
    #End If




    --
    keepITcool
    | www.XLsupport.com | keepITcool chello nl | amsterdam


    Vic Eldridge wrote :

    > Hi Bobby,
    >
    > Jim's shown you how to deal with the right click, but AFAIK, there's
    > no real way to prevent the Customize dialog from being shown when you
    > double click in the toolbar area. I hope someone else can prove me
    > wrong.
    >
    > Regards,
    > Vic Eldridge
    >
    >
    >
    >
    > "BobbyS" wrote:
    >
    > > I have an Excel application in which I am trying to disable some
    > > options for protection. I have everything locked down with one
    > > exception. The user can still right click in the toolbar area and
    > > get the list of available toolbars/customize list. I need to
    > > disable this so the user cannot turn on a toolbar and jeopardize
    > > the workbook. I haven't been able to find any information as to how
    > > to do this. I have looked at API calls and haven't had any luck.
    > >
    > > Any help would be appreciatged.


+ 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