+ Reply to Thread
Results 1 to 3 of 3

VBA Select mutiple rows (ending range variable)

Hybrid View

  1. #1
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: VBA Select mutiple rows (ending range variable)

    Rows("23:" & Cells(Rows.Count, 4).End(xlUp).Row).Select
    
    Your answer to your 2nd question
    Rows(ActiveCell.Row & ":" & Cells(Rows.Count, 5).End(xlUp).Row).Select

  2. #2
    Forum Contributor
    Join Date
    12-20-2011
    Location
    United States, Ohio
    MS-Off Ver
    Excel 2010
    Posts
    295

    Re: VBA Select mutiple rows (ending range variable)

    Quote Originally Posted by JieJenn View Post
    Rows("23:" & Cells(Rows.Count, 4).End(xlUp).Row).Select
    
    Your answer to your 2nd question
    Rows(ActiveCell.Row & ":" & Cells(Rows.Count, 5).End(xlUp).Row).Select
    THANK YOU! Certainly solves the first question, perfectly.
    But doesn't solve my second question - but I don't really NEED to know that right now. My issues pertaining to my work is answered (thanks to you). The second question was for my own knowledge. Marking the thread as SOLVED.

+ 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