+ Reply to Thread
Results 1 to 3 of 3

Add a separate range to current selection

  1. #1
    Registered User
    Join Date
    05-07-2015
    Location
    Angouleme, France
    MS-Off Ver
    2013
    Posts
    48

    Add a separate range to current selection

    Hello everyone !

    I have seeked for this for a long time and haven't found anything about it.

    Here is my problem : I have selected a range in my worksheet using VBA, and I wanted to know if I can add another range to this selection afterwards.
    I've heard a lot of people telling to expand the selection, but I want it to work even if the two (or more) ranges are not side by side...

    Any idea about that ?

    Thank you ;)
    Last edited by AstroZelda; 05-11-2015 at 04:00 AM.

  2. #2
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: Add a separate range to current selection

    You can use the UNION instruction

    Please Login or Register  to view this content.
    If you like my contribution click the star icon!

  3. #3
    Registered User
    Join Date
    05-07-2015
    Location
    Angouleme, France
    MS-Off Ver
    2013
    Posts
    48

    Re: Add a separate range to current selection

    Woah, thank you ! It works perfectly !

+ 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] Variable column range, based on current selection, for sorting columns
    By kshelmidine in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-16-2014, 11:46 AM
  2. copy current selection
    By anilg0001 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-09-2013, 04:26 AM
  3. Enter Current time in two separate cells
    By SHARABI in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-02-2013, 08:10 AM
  4. VBA to define current selection as a named range?
    By clemsoncooz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-04-2012, 05:44 PM
  5. [SOLVED] row selection - from current to last row
    By OM in forum Excel General
    Replies: 3
    Last Post: 09-28-2005, 03:05 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