lezawang
Well-known Member
- Joined
- Mar 27, 2016
- Messages
- 1,805
- Office Version
- 2016
- Platform
- Windows
Hi I created vba function that takes 3 numbers and add them and then multiple by 1.13. Everything fine if I say
= foo(a1,a2,a3)
but I got #Value if I type
= foo(A1:A3)
Why is that? Thank you.
+++
Function foo(x As Integer, y As Integer, z As Integer) As Double
foo = (x + y + z) * 1.13
End Function
= foo(a1,a2,a3)
but I got #Value if I type
= foo(A1:A3)
Why is that? Thank you.
+++
Function foo(x As Integer, y As Integer, z As Integer) As Double
foo = (x + y + z) * 1.13
End Function