Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Excel Constants

Hi,

I'm using php to read an excel file. For the most part it works, only
problem is with vlookup. The cell reads an empty string so I need to *fix*
the php excel reader class. Below are some of the constants that have been
defined:

define('Spreadsheet_Excel_Reader_Type_BOF', 0x809);
define('Spreadsheet_Excel_Reader_Type_EOF', 0x0a);
define('Spreadsheet_Excel_Reader_Type_BOUNDSHEET', 0x85);
define('Spreadsheet_Excel_Reader_Type_DIMENSION', 0x200);
define('Spreadsheet_Excel_Reader_Type_ROW', 0x208);
define('Spreadsheet_Excel_Reader_Type_DBCELL', 0xd7);
define('Spreadsheet_Excel_Reader_Type_FILEPASS', 0x2f);

Does anyone recognize or can provide a link that lists the hexidecimal
constants (and their meaning) used by Excel. The php library doesn't have
access to any com objects or other header files, thus the reason for using
the hex values. I'd be happy with a header file or something similar where
I could glean the relevant information from.

thanks,

Brent


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Excel Constants

Brent,
Have a look at http://www.freevbcode.com/Source/006/vb%20Excel.zip
It give a lot of info on writing the BIFF8 format for an Excel file.
It looks like the ID values for the classes in Excel8Records is what you're
after.

NickHK

"Brent" wrote in message
...
Hi,

I'm using php to read an excel file. For the most part it works, only
problem is with vlookup. The cell reads an empty string so I need to

*fix*
the php excel reader class. Below are some of the constants that have

been
defined:

define('Spreadsheet_Excel_Reader_Type_BOF', 0x809);
define('Spreadsheet_Excel_Reader_Type_EOF', 0x0a);
define('Spreadsheet_Excel_Reader_Type_BOUNDSHEET', 0x85);
define('Spreadsheet_Excel_Reader_Type_DIMENSION', 0x200);
define('Spreadsheet_Excel_Reader_Type_ROW', 0x208);
define('Spreadsheet_Excel_Reader_Type_DBCELL', 0xd7);
define('Spreadsheet_Excel_Reader_Type_FILEPASS', 0x2f);

Does anyone recognize or can provide a link that lists the hexidecimal
constants (and their meaning) used by Excel. The php library doesn't have
access to any com objects or other header files, thus the reason for using
the hex values. I'd be happy with a header file or something similar

where
I could glean the relevant information from.

thanks,

Brent




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Excel Constants

Thanks Nick, will have a look.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Constants in Excel Sharon Excel Discussion (Misc queries) 0 July 24th 08 02:38 PM
vba constants for excel diver Excel Discussion (Misc queries) 2 August 25th 05 07:51 PM
where to find all excel constants? Michel Pierron[_2_] Excel Programming 0 August 5th 04 09:57 AM
where to find all excel constants? Michel Pierron[_2_] Excel Programming 0 August 5th 04 09:39 AM
where to find all excel constants? Tom Ogilvy Excel Programming 0 August 4th 04 06:56 PM


All times are GMT +1. The time now is 05:19 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"