+ Reply to Thread
Results 1 to 5 of 5

Activate a UserForm by Right Clicking a Cell

  1. #1
    Registered User
    Join Date
    07-30-2013
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    4

    Activate a UserForm by Right Clicking a Cell

    Hello All,

    I'm not sure if this is actually possible without some sort of 'Add-In' but I thought I would ask anyway!
    I have created a UserForm which I want to open when the user 'right clicks' a specific cell (for example, H8).
    I have already been able to do it if the user left clicks on the cell by putting a code on the sheet, but this causes problems.
    A right click utility would work perfectly I am sure.

    Regards,

    Stuart
    Last edited by stupotk; 07-30-2013 at 11:51 AM.

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Activate a UserForm by Right Clicking a Cell

    If you already managed to do it for a left click you're going to kick yourself:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-30-2013
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Activate a UserForm by Right Clicking a Cell

    Cheers yudlugar,

    I am kicking myself as I type...
    That worked perfectly. Although, I have used this code for a couple of other cells attached to UserForms, a few of them are merged cells eg (F7:G8).
    The code doesn't work for these like my old code did, though I didn't really like my code anyway. I am sure it is a simple amendment to the code so that it works but I am quite new to VBA (as you probably guessed). If you could fix this for me that would be great.

    Thanks again,

    Stuart

  4. #4
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Activate a UserForm by Right Clicking a Cell

    Use this instead:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    07-30-2013
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Activate a UserForm by Right Clicking a Cell

    Absolutely perfect.
    Thank you so much! You have helped a lot - will change thread to Solved.

    Stuart

+ 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. [SOLVED] How to activate a cell on clicking a radio button in Excel?
    By Scofield24 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-13-2013, 04:36 PM
  2. [SOLVED] popup calendar when clicking on cell in userform
    By Spritz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-19-2013, 04:08 PM
  3. Userform data entry by clicking on a cell instead of typing
    By olivierpbeland in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-08-2013, 02:17 PM
  4. Activate formula without clicking in each row
    By Sal1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-01-2010, 06:38 PM
  5. How to open a userform just by clicking on a cell
    By ephie in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-11-2006, 09:01 AM

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