+ Reply to Thread
Results 1 to 4 of 4

commandBar reset

  1. #1
    Forum Contributor
    Join Date
    01-09-2009
    Location
    Cedar Hill, Tx
    MS-Off Ver
    Excel 2003
    Posts
    200

    commandBar reset

    Howdy again, folks:

    I have a spreadsheet with 5 sheets. On all of the sheets except the first one, I want the right-click to function as normal. On that first sheet ("Absentee Daily Log"), I want all cells to just "beep" on right click unless the active cell is non-blank and within Column B, when I want to present a custom menu of options. On that first sheet, everything is operating ok. On the other sheets, however, I continue to get my custom menu, where I only wanted to use that on the first page. Clear?

    Here's the germane code:

    Please Login or Register  to view this content.
    Can anyone tell me why the custom menu is showing on all of the other sheets?

    TIA, guys.

    Bob

  2. #2
    Valued Forum Contributor Shijesh Kumar's Avatar
    Join Date
    05-26-2008
    Location
    Bangalore / India
    MS-Off Ver
    2000
    Posts
    717

    Re: commandBar reset

    this is one of the approach to run marco only the specified workbook


    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    01-09-2009
    Location
    Cedar Hill, Tx
    MS-Off Ver
    Excel 2003
    Posts
    200

    Re: commandBar reset

    bump - still need assistance.

    TIA.

    Bob

  4. #4
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: commandBar reset

    Hi Bob,

    Put your code in the Worksheet_Activate and Worksheet_Deactivate events for the Absentee sheet. When that sheet becomes active the code should run to create the custom menu, and when another sheet becomes active the code should return the menu to normal.

    Hope that helps.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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