ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How to create a New system function (https://www.excelbanter.com/excel-worksheet-functions/83597-how-create-new-system-function.html)

NYExcel

How to create a New system function
 
How can I setup an function which I can view and use when I click €śinsert
function€ť or as a system?
e.g.
Public Function NewNumber(IDRange As Range)
NewNumber = IDRange.Cells(1, 1).Value + 1
End Function
I want the function NewNumber can be as part the list functions when click
€śinsert function€ť (€śfx€ť)


Bob Phillips

How to create a New system function
 
It will be, in the User Defined category.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"NYExcel" wrote in message
...
How can I setup an function which I can view and use when I click "insert
function" or as a system?
e.g.
Public Function NewNumber(IDRange As Range)
NewNumber = IDRange.Cells(1, 1).Value + 1
End Function
I want the function NewNumber can be as part the list functions when click
"insert function" ("fx")





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

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