Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Make Custom Macro always Available
I have created the following simple custom macro below and saved it in a
module. How do I make it always available for any workbook? Function Between(a As Integer, b As Integer, c As Integer) If a = b And a <= c Then Between = True Else Between = False End If End Function -- bookman |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Make Custom Macro always Available
Put the udf in a workbook that is always open when excel is open.
Lots of people put these things in a file named personal.xls and store that workbook in their XLStart folder. Then you can use: =personal.xls!between(a1,b1,c1) bookman3 wrote: I have created the following simple custom macro below and saved it in a module. How do I make it always available for any workbook? Function Between(a As Integer, b As Integer, c As Integer) If a = b And a <= c Then Between = True Else Between = False End If End Function -- bookman -- Dave Peterson |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Make Custom Macro always Available
Thanks
-- bookman "Dave Peterson" wrote: Put the udf in a workbook that is always open when excel is open. Lots of people put these things in a file named personal.xls and store that workbook in their XLStart folder. Then you can use: =personal.xls!between(a1,b1,c1) bookman3 wrote: I have created the following simple custom macro below and saved it in a module. How do I make it always available for any workbook? Function Between(a As Integer, b As Integer, c As Integer) If a = b And a <= c Then Between = True Else Between = False End If End Function -- bookman -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Can I make an Auto_open macro conditional? | Excel Discussion (Misc queries) | |||
Please Help Me with Custom menus | Excel Worksheet Functions | |||
Help Me Make Macro | Excel Discussion (Misc queries) | |||
Copying a workbook with custom toolbar assigned to a macro | Excel Discussion (Misc queries) | |||
custom toolbar w/ macro | Excel Discussion (Misc queries) |