Jan 21 2022 05:21 AM
Hi,
Can anyone please tell me how can we assign description to excel VBA function? For example when we type Average it shows it's description as shown in figure below. I want to do the same with my custom VBA function. Thanks.
Jan 21 2022 05:39 AM
here is a link with an average example
Dim myRange as Range
'Loop code here
Set myRange = Range("L" & i & ":L" & k)
Cells(j, 20).Value = Application.WorksheetFunction.Average(myRange)
Hope I was able to help you with this info.
I know I don't know anything (Socrates)
Jan 21 2022 07:08 AM
Not exactly what you asked, but:
Let's say you create a UDF named MyFunc
Type =MyFunc( and then press Ctrl+Shift+A.
Result:
You can double-click an argument and then enter something or point to a range.
Jan 21 2022 07:44 AM
Jan 27 2022 09:07 PM - edited Jan 27 2022 09:08 PM
Thank you so much.