Hi friends!!
The paramarray function when used the following way i'm getting expected: expression near the word paramarray.Can somebody help me.

Private Sub Command1_Click()
Call demo()
Call demo(1,2,3)
Call demo(2, 3)
Call demo("nir","anjan")
Call demo(7.5, 8, 9, 10, 11, 12)
End Sub
Private Sub demo(Paramarray a()As Variant)
Dim x%
Label1.Caption= "this time the arguments recieved are"
For x = LBound(a) To UBound(a)
List1.AddItem(a(x))
Next x
End Sub