How do I add a function category

S

Sam Wilson

Hi all,

I'm using Excel 2003 and want to add a function category to the Insert
Function wizard so that user of the add-in can select my UDFs from there.

Eg, after All, Most Recently Used, Financial, Date & Time, Math & Trig etc
I'd like to see "Blah Blah Functions" as well as "User Defined Functions"

Cheers,

Sam
 
S

Sam Wilson

Scratch that question, I've found it: this creates a new category

Public Function test(ByVal mystring As String) As String
test = mystringEnd Function

Sub AddToCategory()
Application.MacroOptions Macro:="Test", Category:="Blah Blah"
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top