Sample of my code:
So the problem is that "If rFound Is Nothing Then End With" doesn't work. Am wondering can I say "Next with" or "GO TO Next With". What would be the right thing here.![]()
Please Login or Register to view this content.
![]()
Sample of my code:
So the problem is that "If rFound Is Nothing Then End With" doesn't work. Am wondering can I say "Next with" or "GO TO Next With". What would be the right thing here.![]()
Please Login or Register to view this content.
![]()
Last edited by xcel_rider; 04-09-2014 at 10:53 AM.
![]()
Please Login or Register to view this content.
Last edited by Leon V (AW); 04-08-2014 at 11:35 AM.
![]()
Sub Reputation() Dim Problem as Variant Dim Reputation as Integer For Each Problem in Forum.Threads If Problem.Title = "*[Solved]*" and Solver.Name = "Leon V (AW)" Then Reputation = Reputation + 1 Next Problem End Sub
ok
that?![]()
Please Login or Register to view this content.
Last edited by xcel_rider; 04-08-2014 at 11:35 AM.
the ExitWith needs a collon ":" that is how a goto statement knows where to go
soif you are using multiple withs in a single macro you will need seperate goto markers![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks