+ Reply to Thread
Results 1 to 3 of 3

Worksheet_BeforeDoubleClick = Multiple Ranges

  1. #1
    Registered User
    Join Date
    08-16-2016
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    88

    Worksheet_BeforeDoubleClick = Multiple Ranges

    Hi,

    I'm using the Worksheet_BeforeDoubleClick method and have set the range "PIDTBL1" as the area where the user can double click. However, I would also like to add two other ranges as areas where a user can double click, however I'm not sure how to do it.
    As well as PIDTBL1 I'd like to use the ranges PIDTBL2 and PIDTBL3 as well. I'm not sure if I can use an "or" function or if I need to need to use 'ELSEIF'... or something else??

    This is the code I have:

    Please Login or Register  to view this content.
    Any ideas? Thanks

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Worksheet_BeforeDoubleClick = Multiple Ranges

    Please Login or Register  to view this content.

    Please Login or Register  to view this content.
    Last edited by mehmetcik; 11-30-2017 at 07:02 AM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    08-16-2016
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    88

    Re: Worksheet_BeforeDoubleClick = Multiple Ranges

    Hi, that works great, thanks!

+ 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] Help on Filtering; Worksheet_BeforeDoubleClick (VBA event)
    By Gilcano in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-15-2015, 01:49 PM
  2. [SOLVED] Sub Worksheet_BeforeDoubleClick
    By ana.ciofrangeanu in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-24-2014, 10:31 AM
  3. Worksheet_BeforeDoubleClick Not Working
    By hydz1213 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-05-2014, 06:50 AM
  4. Worksheet_BeforeDoubleClick - multiple cells, multiple sheet activations
    By DannyH1984 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-21-2013, 07:04 AM
  5. Ambiguous name detected: Worksheet_BeforeDoubleClick
    By ConfusedaboutVBA in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-24-2013, 08:44 PM
  6. ambiguous name detected : Worksheet_beforedoubleclick
    By eina28 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-19-2011, 05:04 AM
  7. [SOLVED] Sub Worksheet_BeforeDoubleClick from elsewhere?
    By Jack Sons in forum Excel General
    Replies: 2
    Last Post: 11-02-2005, 06:17 PM

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