+ Reply to Thread
Results 1 to 3 of 3

Select Multiple Ranges

  1. #1
    Forum Contributor
    Join Date
    02-14-2007
    Location
    Chester, England
    MS-Off Ver
    2010 & 2016
    Posts
    312

    Select Multiple Ranges

    Hello All

    I have 2 ranges which on their own seem to work fine (I have check by just putting ".Select" at the end of both of them)

    The issue is that I want to apply the same border format to both ranges, however, when I try to put them together in a "With" statement it includes all of the range from the top to the bottom and not just the 2 two ranges.

    Ranges being used:
    Please Login or Register  to view this content.
    Code I'm using trying to put both Ranges together:
    Please Login or Register  to view this content.
    If anyone could point out where I'm going wrong it would be most appreciated.

    Thanks in advance

    Jim
    Last edited by JimmyA; 11-09-2009 at 08:06 AM.

  2. #2
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Select Multiple Ranges

    Use UNION to combine two ranges
    Please Login or Register  to view this content.
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  3. #3
    Forum Contributor
    Join Date
    02-14-2007
    Location
    Chester, England
    MS-Off Ver
    2010 & 2016
    Posts
    312

    Re: Select Multiple Ranges

    Thanks rwgrietveld

    It worked a treat!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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