AnalogOutputChannel

Hi, i am new her and beg for patientce.
I wrote alot of the AnalogOutputChannel here, but i did not really find what i am looking for.
What is wrong on this VBA code

Private Sub A_out_4_on_Click()
OutputAnalogChannel(0, 4, 255)
End Sub

I get an “Syntaxerror”

Thanks Rudolf

You have to remove the parentheses.
Pleasae try:

OutputAnalogChannel 0, 4, 255

In Visual Basic 6.0, parentheses are required around the argument list in Function calls. In Sub calls, they are required if you use the Call statement and forbidden if you do not.
http://msdn.microsoft.com/en-us/library/zx7hd02e(v=vs.90).aspx

Thanks, i am so stupid.