Just a quick question that's stumping me. I have boolean functions. Whenever I enter '' I get a syntax error. Why?Please Login or Register to view this content.
Just a quick question that's stumping me. I have boolean functions. Whenever I enter '' I get a syntax error. Why?Please Login or Register to view this content.
*******************************************************
HELP WANTED! (Links to Forum threads)
Trying to create reusable code for Custom Events at Workbook (not Application) level
*******************************************************
You cannot use Exit function with On Error.
Instead try like this...
Please Login or Register to view this content.
If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
Mark your thread as Solved
If the suggestion helps you, then Click *below to Add Reputation
As far as I know there is only 3 type of error handler in VBA.
Please Login or Register to view this content.
plus
Please Login or Register to view this content.
Josie
if at first you don't succeed try doing it the way your wife told you to
Alsoin Subs. But my question is - why don't Functions have an equivalent to this? I find it inconsistent.Please Login or Register to view this content.
Since On Error Exit Sub doesn't work either (my mistake everyone - it's been a long week) then there is no inconsistency and this thread is pointless. Marking "solved" now. (Pity we can't delete nonsense threads)
you may find it useful to have the vba language specification document http://download.microsoft.com/downlo...MS-VBAL%5D.pdf
there's some weird stuff in there ;-)
you won't-it's the specification for the vba language not a particular object model
it both deactivates the current error handler and clears the current exception. I know of no good reason to ever use it :-)
Thanks for the explanation and correction
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks