ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   custom function (https://www.excelbanter.com/excel-programming/328461-custom-function.html)

Spencer Hutton[_3_]

custom function
 
I have written a simple VBA function:

Function SpenceTAX(Cost, Rate)
SpenceTAX = Cost + (Cost * Rate)
End Function

it adds tax to an items cost. how do i get a description of what the
function does to show up in the function dialog box in execl?



Tom Ogilvy

custom function
 
go to the object browser in the VBE

find you function in the browser

right click on it and select properties

enter a description.

Close the object browser.

--
Regards,
Tom Ogilvy


"Spencer Hutton" wrote in message
...
I have written a simple VBA function:

Function SpenceTAX(Cost, Rate)
SpenceTAX = Cost + (Cost * Rate)
End Function

it adds tax to an items cost. how do i get a description of what the
function does to show up in the function dialog box in execl?






All times are GMT +1. The time now is 06:58 AM.

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