ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How do I add a function category (https://www.excelbanter.com/excel-programming/437254-how-do-i-add-function-category.html)

Sam Wilson

How do I add a function category
 
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


Sam Wilson

How do I add a function category
 
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



"Sam Wilson" wrote:

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



All times are GMT +1. The time now is 10:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com