API - vba syntax error when calling a function with two parameters

agentmusic

New member
Joined
Feb 5, 2009
Messages
1
Programming Experience
Beginner
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
 
Back
Top