Jump to content

Recommended Posts

Posted

#include <Excel.au3>

$oExcel = _ExcelBookOpen("c:\call_list.xls", $fVisible = 0, $fReadOnly = False, , )

WARNING: $fVisible: possibly used before declaration.

I don't see anything wrong... ^_^

Anyone else?

Posted

You don't have to include the parameter names in the call. Also, False is the default for the third parameter so you don't need to include it.

$oExcel = _ExcelBookOpen("c:\call_list.xls", 0)

WBD

Posted

still get the error, I do have the incude file..

$oExcel = _ExcelBookOpen("c:\call_list.xls", $fVisible = 1, $fReadOnly = True)

also tried

$oExcel = _ExcelBookOpen("c:\call_list.xls", $fVisible = 1, $fReadOnly = True,0)

I doesn't get past $fVisible

Posted

Did you actually read my reply or look at the code? DON'T INCLUDE THE PARAMETER NAMES IN THE CALL.

$oExcel = _ExcelBookOpen("c:\call_list.xls", 1, True)

WBD

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...