+ Reply to Thread
Results 1 to 21 of 21

How to Enable Right Click Menu on Sheet Tab?

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    03-04-2015
    Location
    Jakarta
    MS-Off Ver
    15
    Posts
    154

    Unhappy How to Enable Right Click Menu on Sheet Tab?

    My excel file can't show the right click menu/context menu. Insert, Delete, Rename, Move or Copy, Tab Color, Hide, Unhide are disabled. Please, help me to enable it. And show me how to disable it again.

    And how to run the vbs code: Application.CommandBars("Ply").Enabled = True

    Please, help me...

  2. #2
    Registered User
    Join Date
    07-01-2011
    Location
    Australia
    MS-Off Ver
    Excel 2011 (Mac)
    Posts
    38

    Re: How to Enable Right Click Menu on Sheet Tab?

    Hi,

    Try instructions here.....

  3. #3
    Forum Contributor
    Join Date
    03-04-2015
    Location
    Jakarta
    MS-Off Ver
    15
    Posts
    154

    Re: How to Enable Right Click Menu on Sheet Tab?

    please, help me...

  4. #4
    Registered User
    Join Date
    07-01-2011
    Location
    Australia
    MS-Off Ver
    Excel 2011 (Mac)
    Posts
    38

    Re: How to Enable Right Click Menu on Sheet Tab?

    Please help you with what? Have you read the link I provided?

    http://dmcritchie.mvps.org/excel/grayedout.htm

  5. #5
    Forum Contributor
    Join Date
    03-04-2015
    Location
    Jakarta
    MS-Off Ver
    15
    Posts
    154

    Re: How to Enable Right Click Menu on Sheet Tab?

    I'm sorry I can't find the help on that page, maybe the version of excel is different.

  6. #6
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: How to Enable Right Click Menu on Sheet Tab?

    Hi putritersenyum

    To turn on the Right Click Menu, in the Immediate Window type this and hit Enter
    application.CommandBars("Cell").Enabled = true
    Edit...I may have misunderstood...the above is to reset the Right Click on a Cell.

    To reset the Right Click on a Tab, in the Immediate Window type this and hit Enter
    Application.CommandBars("Ply").Enabled = True
    Last edited by jaslake; 03-21-2015 at 01:53 PM.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  7. #7
    Registered User
    Join Date
    12-07-2018
    Location
    mexico
    MS-Off Ver
    2016
    Posts
    1

    Re: How to Enable Right Click Menu on Sheet Tab?

    Quote Originally Posted by jaslake View Post
    Hi putritersenyum

    To turn on the Right Click Menu, in the Immediate Window type this and hit Enter
    application.CommandBars("Cell").Enabled = true
    Edit...I may have misunderstood...the above is to reset the Right Click on a Cell.

    To reset the Right Click on a Tab, in the Immediate Window type this and hit Enter
    Application.CommandBars("Ply").Enabled = True
    It did work for me. Thank you so much!!

  8. #8
    Registered User
    Join Date
    05-14-2020
    Location
    Mexico
    MS-Off Ver
    Office Plus 2013
    Posts
    1

    Re: How to Enable Right Click Menu on Sheet Tab?

    You solved it... Thank you

  9. #9
    Registered User
    Join Date
    08-13-2020
    Location
    Warnambool, Australia
    MS-Off Ver
    2007
    Posts
    1

    Re: How to Enable Right Click Menu on Sheet Tab?

    I found this thread today. I had the same problem and didn’t have a clue how to fix it. Thank you Jaslake, your solution #8 worked for me. The fix did not remain when I opened a new workbook so I repeated your solution and saved the new workbook as Excel’s default workbook. I did this by following these steps:
    1. In the Save As dialog box, choose the Save As Type drop-down list, and select Excel Template (*.xltx).
    2. Name the file as book.xltx
    3. Change the file location to
    4. C:\Users\type your username\AppData\Roaming\Microsoft\Excel\XLSTART
    5. Save

  10. #10
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: How to Enable Right Click Menu on Sheet Tab?

    Glad it worked for you Noel 1123

  11. #11
    Forum Contributor
    Join Date
    03-04-2015
    Location
    Jakarta
    MS-Off Ver
    15
    Posts
    154

    Re: How to Enable Right Click Menu on Sheet Tab?

    after pressed the enter key, no change has occurred, is there any additional code before and after the above code?

  12. #12
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: How to Enable Right Click Menu on Sheet Tab?

    Hi putritersenyum

    No...it's as simple as this...
    Attached Images Attached Images

  13. #13
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: How to Enable Right Click Menu on Sheet Tab?

    Hi putritersenyum

    Run this Code on your Workbook
    Sub ShowNames()
       Dim ContextMenu  As CommandBar
       Dim ctrl         As CommandBarControl
    
       Set ContextMenu = Application.CommandBars("Ply")
       For Each ctrl In ContextMenu.Controls
          Debug.Print ctrl.Caption
          ContextMenu.Controls(ctrl.Caption).Enabled = True   'For Tabs
       Next ctrl
    End Sub

  14. #14
    Forum Contributor
    Join Date
    03-04-2015
    Location
    Jakarta
    MS-Off Ver
    15
    Posts
    154

    Re: How to Enable Right Click Menu on Sheet Tab?

    I'm sorry, nothing changes.
    disabled-context-menu-sheet-tab.png

  15. #15
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: How to Enable Right Click Menu on Sheet Tab?

    Hi putritersenyum

    If you like, I'll look at the File...please upload it...

  16. #16
    Registered User
    Join Date
    06-25-2015
    Location
    India
    MS-Off Ver
    2010
    Posts
    1

    Re: How to Enable Right Click Menu on Sheet Tab?

    Same problem here. Right Click on Tabs not Working in any excel file. (Not working in excel only) Cant move,copy, or change tab color as Right Click doesnt show me any options.
    Using Excel 2010.

    Tried the same files on another machine, and right click is working perfectly.

  17. #17
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,047

    Re: How to Enable Right Click Menu on Sheet Tab?

    Sarvesh1608 welcome to the forum

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  18. #18
    Registered User
    Join Date
    08-16-2017
    Location
    India. Mumbai
    MS-Off Ver
    office 2007
    Posts
    1

    Re: How to Enable Right Click Menu on Sheet Tab?

    I did everything. .Still not working

  19. #19
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: How to Enable Right Click Menu on Sheet Tab?

    Quote Originally Posted by ChinmayBari View Post
    I did everything. .Still not working
    Hello try this code
    Sub Reset_All_CommandBars()
        Dim myBar    As CommandBar
        
        For Each myBar In Application.CommandBars
            If myBar.Type = msoBarTypePopup Then
                myBar.Reset
                myBar.Enabled = True
            End If
        Next myBar
    End Sub
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  20. #20
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,047

    Re: How to Enable Right Click Menu on Sheet Tab?

    Quote Originally Posted by ChinmayBari View Post
    I did everything. .Still not working
    Perhaps you missed my post #13?
    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

  21. #21
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: How to Enable Right Click Menu on Sheet Tab?

    Hi,

    Close Excel and search your computer for an Excel.xlb file (there will be a number included for your excel version, e.g. Excel12.xlb)- ensure you are including hidden folders in the search. If you find one, either delete it or move it to another location, and then start Excel and see if the situation has improved.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. A macro to right click a cell and select a item from the right click menu?
    By Peavey in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-13-2014, 10:55 AM
  2. Right click sheet menu
    By DesM in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-16-2007, 08:27 AM
  3. Excel left click produces right click menu
    By Shoesuntied in forum Excel General
    Replies: 4
    Last Post: 08-18-2006, 01:20 PM
  4. Right Click Menu not working when sheet is in Page Break Preview m
    By ExcelMonkey in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-27-2006, 09:40 PM
  5. [SOLVED] Add item to sheet right-click menu?
    By RB Smissaert in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-13-2005, 01:06 PM

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