vba syntax error when calling a function with two parameters

Hi

I have written the following function

Sub test(cs As Integer, cd As Integer)

....
End Sub

When I call the function test with "test(1 ,3)" I get the error message:

syntax error

Can anybody give me a hint what Im doing wrong. I have been looking through the doc but I cant figure out what it is.

Thanks Tobias

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion