Compile error: Sub or Function not defined

As a follow up to my previous blog entry Compile error: Method or data member not found here's the identical VBA IDE problem but due to a function name not found.

VBASubOrFunctionNotDefined

In the above screen shot CalcPrice is the undefined function yet the VBA showed the previous variable.

Note that I frequently use the If ... Then _ if there is only one line of code to be executed.  Looks nicer, in my opinion, and shortens code. 

Published Friday, June 27, 2008 2:06 PM by Tony
Filed under: ,

Leave a Comment

(required) 
(required) 
(optional)
(required)