Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The below code I copied from the Help screen under the Find Method of the Range
Object: It is properly changing 2 values to 5 values, but before concluding it is "bombing" on the 3rd from the last line (below); Can someone spot what the problem is? TIA, With Worksheets(1).Range("A1:A10") Set c = .Find(2, LookIn:=xlValues) If Not c Is Nothing Then firstaddress = c.Address Do c.Value = 5 Set c = .FindNext(c) Loop While Not c Is Nothing And c.Address < firstaddress End If End With |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro code to put series name next to individual line in line grap | Charts and Charting in Excel | |||
Loop Code | Excel Programming | |||
Macro bombing out | Excel Programming | |||
Macro Bombing out - Leith Ross | Excel Programming | |||
Help with loop code... | Excel Programming |