Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Don -
Thanks much. Usually tho', since I really like to indent for readability, it would be rare that an If ..... then .....elseif .....then else ...... end if would fit on one line, but I'll keep the thought. -- Neal Z "Don Guillett" wrote: In addition, you can make it ONE line so there is no "end if". If too long, use the continuation character after a space ie: if xxxxxxxxxx _ -- Don Guillett SalesAid Software "Neal Zimm" wrote in message ... 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel Error :- "Too Many Cell Formats"...is there a way of finding | Excel Discussion (Misc queries) | |||
To block "to "eliminate" of the picture of form, information | Excel Programming | |||
What is causing "Block if without End if" error? | Excel Programming | |||
Need help in excel with "Statement invalid outside Type block. " error | Excel Programming | |||
"Run-time error 91: Object variable or With block not set" | Excel Programming |