Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Below is a function I am working with to calculate
commissions. How do I get it to where when I click on a cell in Excel, and then go to insert function, how do I make it to where I can select that function from in there? Right now I dont see it in there. Option Explicit Dim SalesQ As Currency Dim CalculateCommission As Currency Public Function CalComm() As Currency CalculateCommission = SalesQ * (1.5 / 100) End Function Public Sub main() SalesQ = InputBox("Enter Sales Amount") Call CalComm MsgBox ("The commission amount is: $" & CalculateCommission) End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help with creating a function | Excel Worksheet Functions | |||
Creating a Function | Excel Worksheet Functions | |||
Creating a function | Excel Worksheet Functions | |||
Need help creating a function | Excel Discussion (Misc queries) | |||
creating a function | Excel Discussion (Misc queries) |