![]() |
#5
|
|||
|
|||
![]()
I would change it to (don't use On Error... ONLY to exit Do... Loop)
Code:
If Not oRng Is Nothing Then FirstAdd = oRng.Address Do oCol.Add oRng.Row, CStr(oRng.Row) Set oRng = .FindNext(oRng) Loop While oRng.Address <> FirstAdd End If |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Excel VLOOKUP - Return cells that are not blank from range of specified cells | djlw84 | Excel | 10 | 05-09-2022 11:59 AM |
Index Match and return mutiple results from a table | Bosslb | Excel | 7 | 09-25-2021 11:42 PM |
need Index, Match, Max to return SUMPRODUCT? | IRHSAM | Excel | 0 | 11-17-2017 09:48 AM |
Index to return value based on 2 conditions | george batshon | Excel | 2 | 01-28-2017 05:11 AM |
![]() |
MaineLady | Excel | 2 | 11-05-2015 03:23 PM |