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,902 This week: 2All time: 114 This week: 64Up
Version License Categories
excel2html 1.0.0GNU General Publi...Files and Folders, Windows
Description Author

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: 63
All time rank: Not yet ranked
Week rank: 848 in India India

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 

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.

  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:2
All time:114
This week:64Up
User Ratings User Comments (2)
 All time
it not bad
11 years ago (saeed)
I run the example and no data were generated
12 years ago (budnguyen)
For more information send a message to info at phpclasses dot org.