LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel to select a row based on previous rows

Hi guys,

I started a post yesterday, and have made some headroom, but still nee
some assistance.

I have been working on some code such that if three consecutive cell
meet a certain criteria (i.e are blank), the entire row of the thir
blank cell is selected.

Thats not where my code will end, but think I will be able to mov
along from there, or at least I will hope.

Simply put, if cells k5,k6,and k7 are all blank, the entire 7th row i
selected and stops at that point. Ideally, i would love to have i
search if three consecutive rows are entirely blank and select th
third row, but I do not know if that is possible.

Ive had some code that either would select rows that met this criteri
and kept going, or selected rows that did not meet this criteria, but
can not seem to stick the code for this one.

I am relatively new to VBA, but feel that I have a strong enoug
background to work through code should I see it.

Any help will be greatly appreciated.

Broc

--
Message posted from http://www.ExcelForum.com

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
programming to select rows based on condition Farhad Excel Discussion (Misc queries) 4 January 14th 10 01:18 AM
Select rows based on keyword? Niniel Excel Discussion (Misc queries) 14 September 21st 07 08:18 PM
Need to select rows to average based on a value in a different column Randy K New Users to Excel 1 February 15th 06 01:03 AM
Select rows based on criteria sotiris_s Excel Worksheet Functions 4 November 14th 05 12:35 PM
Select rows and sort based on type Sarah Excel Discussion (Misc queries) 0 October 11th 05 05:06 PM


All times are GMT +1. The time now is 01:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"