ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How can I creat (https://www.excelbanter.com/excel-discussion-misc-queries/83562-how-can-i-creat.html)

NYExcel

How can I creat
 
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€ť)

Toppers

How can I creat
 
Place function in ageneral module and it will appear in the "User Defined"
category in the "Insert Function" dialog.

"NYExcel" wrote:

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€ť)


NYExcel

How can I creat
 
Thanks. But I want it as add in then I can use the function all the time with
attaching the code to all the workbook

"Toppers" wrote:

Place function in ageneral module and it will appear in the "User Defined"
category in the "Insert Function" dialog.

"NYExcel" wrote:

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 02:19 AM.

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