+ Reply to Thread
Results 1 to 4 of 4

Select Entire Row When Two Conditions are met in a range

  1. #1
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Hyderbad
    MS-Off Ver
    Excel 2003
    Posts
    122

    Select Entire Row When Two Conditions are met in a range

    Hi

    I need to select the entire row when two conditions are met,

    Need to select in between range first condition and second condition

    Eg: First condition is in Range("a2")
    Second condition is in range ("a14") then

    I need to select entire row from Range("a2:a14") and the copy the selected range irrespective of the blanks in between.

    Please find the sample file attached.
    Attached Files Attached Files

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Select Entire Row When Two Conditions are met in a range

    Hi jagadeesh.rt

    Assuming your Conditions are Alpha and Num try this
    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Hyderbad
    MS-Off Ver
    Excel 2003
    Posts
    122

    Re: Select Entire Row When Two Conditions are met in a range

    Thanks John,

    It's worked fine.

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Select Entire Row When Two Conditions are met in a range

    You're welcome...glad I could help. Thanks for the Rep.

+ 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. Need help using VBA to select entire column as Range
    By Roxie#2013 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-18-2014, 04:16 PM
  2. Using Case Select On Range With Multiple Conditions?
    By alulla in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 07-03-2013, 02:50 PM
  3. Selection.Replace replaces in entire workbook despite Range.Select
    By robapodaca in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-29-2011, 08:23 PM
  4. Select entire range for sorting
    By henboffman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-06-2011, 09:56 AM
  5. Macro: select entire range with empty columns in between
    By nachousa in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-27-2010, 09:54 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