Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm using this code to search for a certain 5 digit number eg 88860
Dim cl As Long Sheets("Milestone").Select Range("C2").Select cl = ActiveCell 'Set cl as number 88860 Sheets("Master").Select Range("A4").Select Cells.find(What:=cl, After:=ActiveCell, LookIn:=xlFormulas, LookAt _ :=xlWhole, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _ False).Activate and an error comes up at this point saying something like I have not set the variable. I've used this code loads iof times before with no problem, so I don't know whats up. Any help? -- Dave |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Error Handling - On Error GoTo doesn't trap error successfully | Excel Programming | |||
Form Err.Raise error not trapped by entry procedure error handler | Excel Programming | |||
run-time error '1004': Application-defined or object-deifined error | Excel Programming | |||
Automation Error, Unknown Error. Error value - 440 | Excel Programming |