Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi;
Below is code for a UDF using an optional parameter. The code works fine when I supply all the parameters. for example =FTE(1827,26.1) gives a result of 1 However = FTE(1827) which also give 1 resultsin the error #value: Function FTE(Hours, Optional Periods) Application.Volatile If IsMissing(Periods) Then Periods = 26.1 End If FTE = Hours / (Periods * 70) End Function any help appreciated. Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Paramters or Arugment Auto-Label for User-Defined Function | Excel Worksheet Functions | |||
Problem auto generating e-mail to several recipients - argument not optional error message | Excel Programming | |||
Representation of optional parameters in Function arguments window | Excel Programming | |||
optional argument in a function | Excel Programming | |||
Problem with optional parameters in Excel Automation Add-in worksheet function | Excel Programming |