I was using the CONVERT() function and realized that there is a pickable list of valid parameters
Is there anyway to do something similar for a UDF?
I did look at Application.MacroOptions, but didn't see anything
Capture.JPG
I was using the CONVERT() function and realized that there is a pickable list of valid parameters
Is there anyway to do something similar for a UDF?
I did look at Application.MacroOptions, but didn't see anything
Capture.JPG
---------------------------------------------------------------------------------------------------------------------
Paul
Remember: Tell us WHAT you want to do, not HOW you think you want to do it
1. Use [CODE] ....[/CODE ] Tags for readability
[CODE]PasteYourCodeHere[/CODE ] -- (or paste your code, select it, click [#] button)
2. Upload an example
Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) / Upload Files / Done
3. Mark the thread as [Solved] when you have an answer
Thread Tools (on the top right corner, above the first message)
4. Read the Forum FAQ, especially the part about cross-posting in other forums
http://www.vbaexpress.com/forum/faq...._new_faq_item3
Enums?
XP doesn't have selectable lists, so...Function UDF(Value1 As Enum, Value2As Enum) As Type Dim MyVar Select Case Value1 Case enumVar1: MyVar = X
I expect the student to do their homework and find all the errrors I leeve in.
Please take the time to read the Forum FAQ
In short, no you can't.
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber