tiredofit
Well-known Member
- Joined
- Apr 11, 2013
- Messages
- 1,926
- Office Version
- 365
- 2019
- Platform
- Windows
This is my udf:
In Excel, if I typed:
it returns 6, as expected.
If I put a break point in the function, it hits it.
However, if I typed:
it DOES NOT hit the break point.
Is that normal behaviour?
Code:
Public Function MyFunction(ByRef a As Integer, ByRef b As Integer, ByRef c As Integer) As Integer
MyFunction = a + b + c
End Function
In Excel, if I typed:
Code:
=MyFunction(1,2,3)
it returns 6, as expected.
If I put a break point in the function, it hits it.
However, if I typed:
Code:
=MyFunction(1,2,apples)
it DOES NOT hit the break point.
Is that normal behaviour?