+ Reply to Thread
Results 1 to 8 of 8

Adding items to dialog boxes

  1. #1
    Registered User
    Join Date
    01-20-2014
    Location
    York, England
    MS-Off Ver
    Excel 2013
    Posts
    21

    Adding items to dialog boxes

    Hi

    Is there any way of adding items to the dialog box that appears when you right click on an Excel worksheet? The one with "Insert", "Delete", "Rename", "Move and copy" etc?

    If so, could someone kindly paste the link to the thread?

    Thanks

    Matt

  2. #2
    Registered User
    Join Date
    01-20-2014
    Location
    York, England
    MS-Off Ver
    Excel 2013
    Posts
    21

    Re: Adding items to dialog boxes

    I meant to say right click on the tab of a worksheet within Excel...

  3. #3
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: Adding items to dialog boxes

    Good morning MattRSJ

    It is do-able, but it's not really for the faint hearted.
    Microsoft have helpfully printed a bit of a guide here.

    If that all seems like too much hard work and brain-ache, then there is an add-in available that purports to help out. I personally have never used it, but Debra Dalgleish has reviewed it in her Contextures blog here.

    HTH

    DominicB

  4. #4
    Registered User
    Join Date
    01-20-2014
    Location
    York, England
    MS-Off Ver
    Excel 2013
    Posts
    21

    Re: Adding items to dialog boxes

    Thanks DominicB

    I read both of those earlier but wondered if there was a VBA way to do it. I'll have a look at those when I get a minute.

    Thanks again.

  5. #5
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: Adding items to dialog boxes

    Hi MattRSJ

    The Microsoft link shows how to do it using VBA (the first part) or using the extensibility model (the second part). To be quite honest, neither of them are particularly beginner-friendly.

    And if you've ever tried to wade through a Microsoft tutorial before, then you'll know that they're not the easiest things to follow.

    Both of the above reasons are why I suggested you might want to try a route where someone else has already done all the hard work.

    HTH

    DominicB

  6. #6
    Registered User
    Join Date
    01-20-2014
    Location
    York, England
    MS-Off Ver
    Excel 2013
    Posts
    21

    Re: Adding items to dialog boxes

    After an hour of Googling you can do it like this:

    Please Login or Register  to view this content.
    And post this two snippets in ThisWorkbook:

    Please Login or Register  to view this content.
    For information, the dialog menu that pops up when you right click a tab is called "Ply" (i.e.
    Please Login or Register  to view this content.
    )

    This is a butchered version of the Microsoft help that was provided...
    Last edited by MattRSJ; 07-14-2015 at 10:47 AM.

  7. #7
    Forum Contributor
    Join Date
    09-11-2008
    Location
    uk
    MS-Off Ver
    365
    Posts
    424

    Re: Adding items to dialog boxes

    This does not work correctly. The delete section will not completely remove the new sections....
    Last edited by skyping; 07-15-2015 at 03:38 AM.

  8. #8
    Forum Contributor
    Join Date
    09-11-2008
    Location
    uk
    MS-Off Ver
    365
    Posts
    424

    Re: Adding items to dialog boxes

    Instead change the delete from cell menu code to..... Application.CommandBars("Ply").Reset. This will enable a more comprehensive reset.....Hope that helps! Skyping

+ 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. Adding same items to combo boxes on multiple sheets
    By tony2501 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-02-2011, 08:29 PM
  2. No Color in Dialog Boxes
    By bretsharon in forum Excel General
    Replies: 5
    Last Post: 03-27-2007, 10:01 AM
  3. [SOLVED] custom dialog boxes
    By dr chuck in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2006, 03:50 AM
  4. [SOLVED] Using Dialog Boxes
    By Goldstar0011 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-29-2005, 06:50 PM
  5. Dialog Boxes
    By naiveprogrammer in forum Excel General
    Replies: 2
    Last Post: 10-18-2005, 06:05 PM
  6. [SOLVED] Dialog boxes
    By webster in forum Excel General
    Replies: 5
    Last Post: 07-09-2005, 07:05 AM
  7. [SOLVED] Dialog Boxes: PC and Mac
    By Bill in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-25-2005, 01:06 PM
  8. Getting around dialog boxes
    By Rickatwork in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-31-2005, 03:14 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