Rather that invoking a UDF from VBA code, is it possible to create a UDF, then go into an cell, proceed to enter a formula with an equal sign, and the name of your UDF will pop up just like a built-in function such as SUM or VLOOKUP?
For example, in Module 1, write the code for a UDF called DoubleSum.
Then in a spreadsheet with values, type in = and have the function called DoubleSum pop up as a choice?
Bookmarks