+ Reply to Thread
Results 1 to 4 of 4

Select within column down to first blank cell

  1. #1
    Registered User
    Join Date
    06-28-2010
    Location
    Ohio
    MS-Off Ver
    Excel 2003
    Posts
    15

    Select within column down to first blank cell

    I am looking for a bit of vba in which I start with s specific cell and search down the column until I reach the first empty cell, and then selects that whole range from the starting cell to the last cell before the empty space. thanks in advance!

  2. #2
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Select within column down to first blank cell

    With B1 as the first cell try this--
    Range(Range("B1"), Selection.End(xlDown)).Select
    Happy to Help

    How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html

    "I don't get things easily, so please be precise and elaborate"

    If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
    If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.

    Sourabh

  3. #3
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Select within column down to first blank cell

    One of many ways

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    06-28-2010
    Location
    Ohio
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Select within column down to first blank cell

    Thanks guys they all work!

+ 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] select last blank cell instead of last empty cell in a column
    By alexcrofut in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-11-2014, 01:50 PM
  2. Replies: 2
    Last Post: 07-26-2012, 09:57 AM
  3. Select First Cell in First Blank Column
    By NSTurk725 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-09-2010, 05:12 PM
  4. Select all cells in a column up to a blank cell
    By nemadrias in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-28-2006, 04:10 PM
  5. I want to select the first blank cell in column A
    By Greegan in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-13-2005, 09:06 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