Jump to content
Sign in to follow this  
devi

Need help for to import Excel file

Recommended Posts

devi

Hi, i have an excel file, how to import the excel file in my autoit script and result will be append at the end.can u help me script for this.

Share this post


Link to post
Share on other sites
hannes08

Hello devi,

did you already take a look at the _Excel*() Functions in the helpfile?

Especially you'll need _ExcelBookOpen(), _ExcelWriteCell(), _ExcelReadCell() or _ExcelReadSheetToArray() and _ExcelBookSave().


Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]

Share this post


Link to post
Share on other sites
devi

in @Script dir we need to give where the .xls file is stored or we need to give other than that. iam unable to access that file i stored the file in "C:\folder\test.xls" how to import this excel file in autoit script.

Share this post


Link to post
Share on other sites
water

As Hannes stated, have a look at the builtin _Excel* functions.

Specify the path/filename of the excel file to open in _ExcelBookOpen.

Details can be found in the AutoIt help file.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.