ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Representation of optional parameters in Function arguments window (https://www.excelbanter.com/excel-programming/350708-representation-optional-parameters-function-arguments-window.html)

compound[_5_]

Representation of optional parameters in Function arguments window
 

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.


--
compound
------------------------------------------------------------------------
compound's Profile: http://www.excelforum.com/member.php...o&userid=11556
View this thread: http://www.excelforum.com/showthread...hreadid=502276



All times are GMT +1. The time now is 01:41 PM.

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