Finding the "Block If without End If" error
Hi -
It's been a while since I got this error, and eventually I found it. My
steps to find it are below, but do y'all have any other tips/techniques?
The sub was pretty large with a lot of IF ... Then Elseif Else logic.
Thanks.
1. Code most recently changed
2. Comment out chunks of it, compile until error goes away
3. Find in last commented out section via searching for "end if", fix,
remove commented out code, recompile.
--
Neal Z
|