PHP Classes

Excel convertor: Read data from Excel files using COM objects

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 43%Total: 10,914 All time: 114 This week: 69Up
Version License Categories
excel2html 1.0.0GNU General Publi...Files and Folders, Windows


This package is meant to read the data from an MS office 2000 Excel 97 file using Windows COM objects.

The class can traverse a given worksheet and read the information from a given cell range.

An example is provided to demonstrate how the class can be used to output the worksheet data in an HTML table.

Picture of Umesh Rai
Name: Umesh Rai <contact>
Classes: 2 packages by
Country: India India
Age: 64
All time rank: 18312 in India India
Week rank: 245 Down23 in India India Down


Steps to use the package. Platform tested on: Windows XP + Apache 2 + PHP 5 Unzip the folder: to Apache 2's htdoc folder. Rename the folder to excel2html (Recommended) With Apache running, open a browser. Point to http://localhost/excel2html/index.htm In the form generated, point to the MS Excel file you want to convert. Enter also the worksheet name and the cell range (Start cell and End cell) you are interested in. Press submit and HTML file will be generated, which you can save on your disk. contact:

  Files folder image Files  
File Role Description
Plain text file excel2html.php Class Class for reading Excel file
Accessible without login HTML file index.html Data Input the file,worksheet name and the range here
Accessible without login Plain text file inputExcel.php Example Converts the Excel file read through the class file to HTML file
Accessible without login Plain text file README.txt Doc. Installation guide

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:114
This week:69Up
User Ratings User Comments (2)
 All time
it not bad
13 years ago (saeed)
I run the example and no data were generated
14 years ago (budnguyen)