object defined error
heres my code..im trying to find all occurences of a part number. Its givign me an error with the portion of this code.
.
.
.
.
.
.
r2.Select
Selection.EntireRow.Select
ActiveCell = r2
Set r3 = ActiveCell
differentvendor:
diffvend = MsgBox("Would you like to find another vendor with the same PTI Part number?", vbQuestion + vbYesNo)
If diffvend = vbYes Then
Do While Not IsEmpty(ActiveCell)
MsgBox r3
Range("PN").FindNext(r3).Select
Selection.EntireRow.Select
'If Range("PN").FindNext(r3) Is Nothing Then
'sorry = MsgBox("Sorry, there are no more vendors for that PTI part number. Restart?", vbQuestion + vbYesNo)
' GoTo restart1
GoTo differentvendor
.
.
.
.
.
.
|