Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default User Defined Functions

Is there any way to trap the error of passing the wrong
number of arguments to a user defined function? Built-in
functions trap this error and present the user with an
error dialog. My user defined function simply returns
#VALUE! with no error message. The function is not even
being executed because a STOP as the first line of code
does not drop me into the VBA editor.

I know I could use the OPTIONAL or PARAMARRAY keywords but
I was hoping there might be a cleaner solution.

Thanks
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
User Defined Functions CH Excel Worksheet Functions 4 September 22nd 08 10:16 AM
User defined functions without using VBA. [email protected] Excel Discussion (Misc queries) 0 June 13th 06 05:50 PM
User Defined Functions Mike McLellan Excel Worksheet Functions 2 May 4th 06 10:56 AM
About User Defined Functions linzhang426 Excel Worksheet Functions 4 October 17th 05 09:27 PM
User Defined Functions Jeff B Excel Worksheet Functions 1 April 27th 05 09:59 PM


All times are GMT +1. The time now is 02:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"