Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Wombatz
Try this. Tony Sub bbb() With Columns("a:a") Set c = .Find("define") If Not c Is Nothing Then firstaddr = c.Address For i = 0 To 7 Range(c.Address).Offset(i, 2).Value = c.Value Next i Set c = .FindNext(c) While Not c Is Nothing And c.Address < firstaddr For i = 0 To 7 Range(c.Address).Offset(i, 2).Value = c.Value Next i Set c = .FindNext(c) Wend End If End With End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find loop doesn't loop | Excel Discussion (Misc queries) | |||
Loop in Excel | Excel Discussion (Misc queries) | |||
VB for excel, how do I loop through code | Excel Discussion (Misc queries) | |||
Loop within Excel Formula? | Excel Programming | |||
HELP!!!! Can't stop a loop (NOT an infinite loop) | Excel Programming |