Cont6
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 5 articles for 0.302 sec
You could also check to see if your string were found first, then if it was found, do the .activate: dim FoundCell as Range set foundcell = cells.find(what:="IP Trinity", ...rest of find here) if foundcell is nothing then msgbox "Not found" else foundcell.activate end if And drop the "on error" stuff completely. Coppercrutch wrote: > > I have the following code: > > On     

Group: microsoft.public.excel.misc · Group Profile · Search for Cont6 in microsoft.public.excel.misc
Author: Dave Peterson
Date: Dec 28, 2007 07:04

Now the error goto works fine and dandy, but only if there is one error ? The reason for this is that VBA can operate in two "modes". Nearly all the time, it operates in "normal" mode. However, when an trappable error occurs and is handled by an "On Error Goto <Label>" statement, execution switches to "error" mode. In this case, no other errors can be trapped until an "Exit Sub/Function/Property"
Show full article (1.20Kb) · Show article thread
Just worked it out. I will use 'on error resume next' instead of go to. All works fine. Cheers anyway. "Coppercrutch" wrote: > I have the following code: > > On Error GoTo cont6: > Cells.Find(What:="IP Trinity", After:=ActiveCell, LookIn:=xlFormulas, _ > LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _ > MatchCase:=False, SearchFormat:=False     

Group: microsoft.public.excel.misc · Group Profile · Search for Cont6 in microsoft.public.excel.misc
Author: Chip Pearson
Date: Dec 28, 2007 06:30

I have the following code: On Error GoTo cont6: Cells.Find(What:="IP Trinity", After:=ActiveCell, LookIn:=xlFormulas, _ LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _ MatchCase:=False, SearchFormat:=False).Activate cont6: I have used this because when the required info is not found I was getting a runtime '91' error message - Object variable
Show full article (1.85Kb) · Show article thread
"Mxsmanic" <mxsmanic@gmail.com> wrote in message news:uuh7b3lalebcngjjqb5qp6qcapndi40kfm@4ax.com... > Gattman writes: > >> That's right. Camber is a conspiracy by the aluminum industry to sell >> more metal. >> Similarly, flaps are a hoax. > > Flaps change the angle of attack. Gee. No kidding. Really? Who on rec.aviation.piloting knew?! Flaps also change the camber. Because     

Group: microsoft.public.excel.misc · Group Profile · Search for Cont6 in microsoft.public.excel.misc
Author: Coppercrutch
Date: Dec 28, 2007 04:33

Show full article (0.97Kb) · Show article thread
    

Group: microsoft.public.excel.misc · Group Profile · Search for Cont6 in microsoft.public.excel.misc
Author: Coppercrutch
Date: Dec 28, 2007 04:24

Show full article (0.80Kb)
    

Group: rec.aviation.piloting · Group Profile · Search for Cont6 in rec.aviation.piloting
Author: Gattman
Date: Aug 3, 2007 18:00

Show full article (1.25Kb) · Show article thread