Sharkky
July 30th, 2003, 01:59 PM
I'm trying to use a procedure with to arguments. But there is an error: "expected: =" (VBA)
I'm writting exactly following code
Sub Multiply(x as Integer, y as Integer)
????1.CommandButton1.Caption = x * y
End Sub
In the required place I write:
Multiply (5, 6)
And the result - ERROR
What should I do? Or it is impossible to use procedure with to arguments in VBA???
I'm writting exactly following code
Sub Multiply(x as Integer, y as Integer)
????1.CommandButton1.Caption = x * y
End Sub
In the required place I write:
Multiply (5, 6)
And the result - ERROR
What should I do? Or it is impossible to use procedure with to arguments in VBA???