format optional parameter

C

compound

I've seen a long time ago that optional parameters in the user define
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 byva
Price as double = 0) then if I go in to spreadsheet and insert functio
MyFunction into a cell and then open function arguments window the
"TradeDate" argument will look bold and "Price" argument will look Bol
and Italic.

Thank you!
Compound
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top