Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi guys, Is there any quick way in VBA to code to loop through all cells in given range meeting one or more user defined conditions? Th Specialcells method doesn't provide input for user to define condition. How to write concise code to do thing like.. (borrow Wher from SQL) For Each x in myRange Where x 0 And x.Offset(0,-1) ="A" ..... Next x Thanks, Huyeot -- Huyeot ----------------------------------------------------------------------- Huyeote's Profile: http://www.excelforum.com/member.php...fo&userid=1389 View this thread: http://www.excelforum.com/showthread.php?threadid=47572 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Meeting 12 formatted conditions | Excel Discussion (Misc queries) | |||
sum a range meeting conditions of row & column | Excel Worksheet Functions | |||
using sumproduct on subtotals meeting certain conditions | Excel Worksheet Functions | |||
Meeting two conditions before summing | Excel Worksheet Functions | |||
Loop through data for conditions and create a new sheet | Excel Programming |