Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Custom Function Tips

I have created a custom function with 5 possible arguments. Is there a way
to have the "IntelliType" feature work with custom functions where the user
is prompted for the list of required arguments for the function?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Custom Function Tips

Public Function CustomFunctionName(a as string, b as Long, c as double, d as
string, e as long)

End sub

in a general module.

then if you do Insert function, it should be under "user defined" and boxes
provided by the dialog for each argument.


If you want help text for the arguments, see Laurent Longre's site for a
free addin that will give you support for this

http://xcell05.free.fr/
--
Regards,
Tom Ogilvy


"dunnerca" wrote in message
...
I have created a custom function with 5 possible arguments. Is there a

way
to have the "IntelliType" feature work with custom functions where the

user
is prompted for the list of required arguments for the function?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Custom Function Tips

Sorry, Tom, for maybe not being more specific. When you start entering a
function, let's say "=PV(" on the worksheet, the arguments show on the screen
and the argument you are entering is highlighted in bold. That is what I was
talking about being able to code with a custom function. I know that the
Insert Function menu choice will show the choices but I would rather be able
to code the other prompts. Do you know any way of doing that?

Thanks.

Kevin

"Tom Ogilvy" wrote:

Public Function CustomFunctionName(a as string, b as Long, c as double, d as
string, e as long)

End sub

in a general module.

then if you do Insert function, it should be under "user defined" and boxes
provided by the dialog for each argument.


If you want help text for the arguments, see Laurent Longre's site for a
free addin that will give you support for this

http://xcell05.free.fr/
--
Regards,
Tom Ogilvy


"dunnerca" wrote in message
...
I have created a custom function with 5 possible arguments. Is there a

way
to have the "IntelliType" feature work with custom functions where the

user
is prompted for the list of required arguments for the function?




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Custom Function Tips

For this functionality with a User Defined function built in VBA, I don't
believe there are any options you can use to force excel to behave other
than it does.

--
Regards,
Tom Ogilvy


"dunnerca" wrote in message
...
Sorry, Tom, for maybe not being more specific. When you start entering a
function, let's say "=PV(" on the worksheet, the arguments show on the

screen
and the argument you are entering is highlighted in bold. That is what I

was
talking about being able to code with a custom function. I know that the
Insert Function menu choice will show the choices but I would rather be

able
to code the other prompts. Do you know any way of doing that?

Thanks.

Kevin

"Tom Ogilvy" wrote:

Public Function CustomFunctionName(a as string, b as Long, c as double,

d as
string, e as long)

End sub

in a general module.

then if you do Insert function, it should be under "user defined" and

boxes
provided by the dialog for each argument.


If you want help text for the arguments, see Laurent Longre's site for a
free addin that will give you support for this

http://xcell05.free.fr/
--
Regards,
Tom Ogilvy


"dunnerca" wrote in message
...
I have created a custom function with 5 possible arguments. Is there

a
way
to have the "IntelliType" feature work with custom functions where the

user
is prompted for the list of required arguments for the function?






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
Display tips in function wizard Joe Carroll Excel Programming 5 December 2nd 05 09:31 PM
Custom Function: Detecting the cell the function is used in g-boy Excel Programming 2 June 11th 05 06:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM
adding tooltips / helper tips to custom funcitons Scott Excel Programming 1 January 11th 05 05:32 AM
Adding a custom function to the default excel function list DonutDel Excel Programming 3 November 21st 03 03:41 PM


All times are GMT +1. The time now is 11:25 AM.

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"