+ Reply to Thread
Results 1 to 4 of 4

Range Selection Not Working

  1. #1
    Valued Forum Contributor
    Join Date
    11-15-2007
    Location
    England
    MS-Off Ver
    Office Pro 2003 / 2010
    Posts
    423

    Range Selection Not Working

    Hi,

    I am using this in a small macro -

    Please Login or Register  to view this content.
    The trouble is it isn't selecting all of the column because there are some blank cells with in it. Is there a way around this?

    Regards

    Tim.
    Last edited by timbo1957; 11-08-2011 at 09:36 AM.

  2. #2
    Forum Contributor
    Join Date
    05-09-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    315

    Re: Range Selection Not Working

    You could try offsetting and End(xlUp) instead:

    Please Login or Register  to view this content.

    Note that it will produce an error if the offset takes it beyond the 65536 row limit.

  3. #3
    Forum Expert
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,164

    Re: Range Selection Not Working

    Please Login or Register  to view this content.
    Foxguy

    Remember to mark your questions [Solved] and rate the answer(s)
    Forum Rules are Here

  4. #4
    Valued Forum Contributor
    Join Date
    11-15-2007
    Location
    England
    MS-Off Ver
    Office Pro 2003 / 2010
    Posts
    423

    Re: Range Selection Not Working

    Thanks guys a great help.

+ 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