The last 3 args are optional. I&#39;ve tried dropping them, same results. <br><br>x1.FunctionX(arg1, arg2, arg3, arg4, arg5, arg6, arg7)<br>which yields the same error message.<br><br>x1.FunctionX(arg1, arg2, arg3, arg4, arg5, arg6)
<br>Yields an argument not optional error message (not at the machine this runs on, so can&#39;t give exact message.)<br><br>Changing the type of another argument yields the same result<br>ie---<br>&gt;&gt;&gt; arg6<br>323
<br>&gt;&gt;&gt; arg6 = &quot;true&quot;<br><span style="font-family: courier new,monospace;">&gt;&gt;&gt; x1.FunctionX(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Traceback (most recent call last):</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">

&nbsp; File &quot;&lt;interactive input&gt;&quot;, line 1, in &lt;module&gt;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp; File &quot;&lt;COMObject programX.activex.interface

&gt;&quot;, line 2, in FunctionX</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">com_error: (-2147352571, &#39;Type mismatch.&#39;, None, 6)</span><br>&gt;&gt;&gt;<br>
<br><br><div><span class="gmail_quote">On 9/28/07, <b class="gmail_sendername">Tim Roberts</b> &lt;<a href="mailto:timr@probo.com">timr@probo.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>If arg7 is the output argument, then you probably want:<br><br>&nbsp;&nbsp; arg7 = x1.FunctionX(arg1, arg2, arg3, arg4, arg5, arg6, arg8, arg9,<br>arg10)<br><br>I&#39;m not sure if it will handle functions where the output argument is
<br>not the final argument.<br><br>--<br>Tim Roberts, <a href="mailto:timr@probo.com">timr@probo.com</a><br>Providenza &amp; Boekelheide, Inc.<br></blockquote></div><br>