View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Steve Steve is offline
external usenet poster
 
Posts: 1,814
Default for...next funny behaviour

What a snot.

"Niek Otten" wrote:

How do you expect any of us to solve this without seeing your code?

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Steve" wrote in message ...
|I have a for next loop in my vba code. First I comment out the for and the
| next statements and the code compiles correctly.
|
| If I un-comment the for and leave the next commented out I get a "for
| without next" error.
|
| If I either un-comment the next and leave the for commented or un-comment
| both the for and the next I get a "next without for" error.
|
|