When I calculate in the VB editor I get round off errors.
I have the following:
Excel cells:
E3 is =CalcResult(C3;F3;B3) (Sending the values to the VB editor)
C3 is changeable, 1 to 6
CF is changeable, 1 to 6
B3 contains the value I want to calculate
In VB Editor:
Function CalcResult(Arg1 As...
Hi All!
1) In the Visual Basic Editor I want to know what is the correct way to refer to a cell so I can use its value in a calculation?
Here's my code:
Function CalcValue(Arg1 As String, Arg2 As String) As Long
If Arg1 = "1" And Arg2 = "2" Then
CalcValue =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.