mary Posted March 11, 2011 Share Posted March 11, 2011 Hi ! Juste to ask if there is a way to read xls (excel) file without OLE (com object) ? my goal is to convert content to other file format ( csv, xml, etc...) exemple, i need to convert all .xls file in the directory to csv file format with pipe "|" as delimiter character Link to comment Share on other sites More sharing options...
water Posted March 11, 2011 Share Posted March 11, 2011 (edited) Why do you want to avoid excel COM?You could use _ExcelReadSheetToArray and then write the Array to a file.Edit: If you don't have excel installed you could use one of the freeware excel converters like xls2csv Edited March 11, 2011 by water My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
mary Posted March 11, 2011 Author Share Posted March 11, 2011 Why do you want to avoid excel COM?because I have no excel installed.Edit: If you don't have excel installed you could use one of the freeware excel converters like xls2csvgood freeware but not flexible because it add a double comma ("") for each cell content Link to comment Share on other sites More sharing options...
Juvigy Posted March 11, 2011 Share Posted March 11, 2011 You can manipulate the csv file and remove the double comma afterwords. Link to comment Share on other sites More sharing options...
Zedna Posted August 14, 2011 Share Posted August 14, 2011 (edited) I know it's quite late but look hereAccessing and managing MS Excel sheets with Delphihttp://delphi.about.com/od/database/l/aa090903a.htm Edited August 14, 2011 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search 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