Re: F8 and Yellow pattern for compile error
From: Hari Prasadh (excel_hari_at_hotmail.com)
Date: 01/30/05
- Next message: Tom Ogilvy: "Re: Speeding up writes to cells?"
- Previous message: Hari Prasadh: "Re: Select a sheet and activate a Window"
- In reply to: Bob Phillips: "Re: F8 and Yellow pattern for compile error"
- Next in thread: Bob Phillips: "Re: F8 and Yellow pattern for compile error"
- Reply: Bob Phillips: "Re: F8 and Yellow pattern for compile error"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 30 Jan 2005 20:49:59 +0530
Hi Bob,
Im sorry, I used *recursion* word as a pun.
I mean I find it very hard to debug the error. So, when-ever there is a
yellow line, I would change a small detail within that ( remember my
yesterday's post regarding "Cleaning up the syntax" where I was at my wit's
end and I provided 3 variations -- a) , b) , c) -- of changes I tried) and
see whether it works. So in effect I keep *permuting* the various possible
*syntaxes*.
Now when Iam playing this *game* sometimes VBA would reset my project and
sometimes its very graceful and allows with the continuation of the rest of
the code.
I wanted to *predict* when VBA would reset and when it wouldnt.
Thanks a lot,
Hari
India
"Bob Phillips" <bob.phillips@notheretiscali.co.uk> wrote in message
news:%237$yestBFHA.936@TK2MSFTNGP12.phx.gbl...
> Hari,
>
> I see you have got no replies to this, so I will take a shot.
>
> You mention recursive mode. I am not absolutely clear what you mean by
> this,
> but does this mean that your code uses recursion. Are you handling the
> recursion exits properly, not choking up the stack?
>
> --
>
> HTH
>
> RP
> (remove nothere from the email address if mailing direct)
>
>
> "Hari Prasadh" <excel_hari@hotmail.com> wrote in message
> news:OAgr12UBFHA.3492@TK2MSFTNGP12.phx.gbl...
>> Hi,
>>
>> When I get an error, the offending line in my code would be having a
> streak
>> of yellow pattern.
>>
>> As is my habit, I would make a minor change (I play a game of odd-man-out
> in
>> recursive mode with VBA) to the code Line and herein lies my doubt.
>>
>> a) Sometimes when I make the change I would get the deadly message box
>> (vbokcancel) something on the following lines "Project needs to be
>> RESET."
>>
>> b) And rest of the times VBA would be very kind and would allow the
>> change
>> in the code line, WITHOUT Resetting and I can continue with the code
>> execution (unless more errors pop up in the same line)
>>
>>
>> Whats the logic for the above behaviour. Can I predict in what kind of
>> changes , VBA would reset my project and when it would not.
>>
>> Please guide me.
>>
>> Thanks a lot,
>> Hari
>> India
>>
>>
>
>
- Next message: Tom Ogilvy: "Re: Speeding up writes to cells?"
- Previous message: Hari Prasadh: "Re: Select a sheet and activate a Window"
- In reply to: Bob Phillips: "Re: F8 and Yellow pattern for compile error"
- Next in thread: Bob Phillips: "Re: F8 and Yellow pattern for compile error"
- Reply: Bob Phillips: "Re: F8 and Yellow pattern for compile error"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|