João serras-pereira
asked on
ByRef type mismatch when invoking a sy+ub
Hi.
I am getting a "By Ref argument type mismatch" which I can't understand
The error is below:
but the argument looks correct (it is declared)
and the sub is defined:
can anyone help?
Screen-Shot-2018-03-10-at-18.43.32.png
Screen-Shot-2018-03-10-at-18.45.52.png
I am getting a "By Ref argument type mismatch" which I can't understand
The error is below:
but the argument looks correct (it is declared)
and the sub is defined:
can anyone help?
Screen-Shot-2018-03-10-at-18.43.32.png
Screen-Shot-2018-03-10-at-18.45.52.png
The sub expects an Integer but you are passing a double. Change either one so that they match.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi THANKS!!!! did not know that!!!