aivars wrote:
> this is how I call it from VB:
>
> Sub testPython()
>
> Dim a
> Dim response
>
> Set a = CreateObject("Aivars.ReturnSaldo")
> response = a.ReturnAmount() '--->error here
>
> Worksheets("Sheet1").Range("a1").Value = response
> End Sub
>
Function calls in VB with no parameters don't use parens. I think you
want this:
response = a.ReturnAmount
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
_______________________________________________
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32