BryonR Posted April 29, 2009 Share Posted April 29, 2009 #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? Link to comment Share on other sites More sharing options...
WideBoyDixon Posted April 29, 2009 Share Posted April 29, 2009 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 [center]Wide by name, Wide by nature and Wide by girth[u]Scripts[/u]{Hot Folders} {Screen Calipers} {Screen Crosshairs} {Cross-Process Subclassing} {GDI+ Clock} {ASCII Art Signatures}{Another GDI+ Clock} {Desktop Goldfish} {Game of Life} {3D Pie Chart} {Stock Tracker}[u]UDFs[/u]{_FileReplaceText} {_ArrayCompare} {_ToBase}~ My Scripts On Google Code ~[/center] Link to comment Share on other sites More sharing options...
BryonR Posted April 29, 2009 Author Share Posted April 29, 2009 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 Link to comment Share on other sites More sharing options...
WideBoyDixon Posted April 29, 2009 Share Posted April 29, 2009 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 [center]Wide by name, Wide by nature and Wide by girth[u]Scripts[/u]{Hot Folders} {Screen Calipers} {Screen Crosshairs} {Cross-Process Subclassing} {GDI+ Clock} {ASCII Art Signatures}{Another GDI+ Clock} {Desktop Goldfish} {Game of Life} {3D Pie Chart} {Stock Tracker}[u]UDFs[/u]{_FileReplaceText} {_ArrayCompare} {_ToBase}~ My Scripts On Google Code ~[/center] Link to comment Share on other sites More sharing options...
BryonR Posted April 29, 2009 Author Share Posted April 29, 2009 (edited) I feel so ashamed... ty Edited April 29, 2009 by BryonR Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now