ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   format optional parameter (https://www.excelbanter.com/excel-worksheet-functions/47319-format-optional-parameter.html)

compound

format optional parameter
 
I've seen a long time ago that optional parameters in the user defined
function could be italicizes in the Function arguments window in excel.

This is what I'm trying to achieve.
If I have a function MyFunction(byval TradeDate as date, optional byval
Price as double = 0) then if I go in to spreadsheet and insert function
MyFunction into a cell and then open function arguments window then
"TradeDate" argument will look bold and "Price" argument will look Bold and
Italic.

Thank you!
Compound.



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

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