ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   know possible, but have no idea how (https://www.excelbanter.com/excel-programming/340547-know-possible-but-have-no-idea-how.html)

compound[_3_]

know possible, but have no idea how
 

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=469010


compound[_4_]

know possible, but have no idea how
 

I'm still looking. Might be somebody came across something similar?
Thank you.


--
compoun
-----------------------------------------------------------------------
compound's Profile: http://www.excelforum.com/member.php...fo&userid=1155
View this thread: http://www.excelforum.com/showthread.php?threadid=46901



All times are GMT +1. The time now is 06:12 PM.

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