Hi, I have written what I thought was a fairly simple nested IF statement that is not working and I can't work out why. When I try to run it, I get an "Else without If" error message. If I comment out the nested "End If"'s (eg line 13) then it executes but not as intended - if that first If statement evaluates as "N", the code goes to the first nested ElseIf (line 5) rather than the unnested ElseIf (line 14). There is probably something really obvious but I can't see it!
Please Login or Register to view this content.
Bookmarks