Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to read workbook (not worksheet) properties with OLEDB

I am attempting to read a workbook's properties such as Date1904. I
have confirmed that property is not in the individual worksheets.
Using brute force I discovered the flag in byte 765 of some .XLS
files, but I presume that the location is undocumented and unreliable
across all current and future versions of Excel. I need to verify
that 4 year offset (1462 days) but have no idea how to view workBOOK
properties with OLEDB.

I know I could open the Excel Workbook Object as an Application, but I
am running this on a web server and opening an instance of Excel isn't
scalable - it takes a couple seconds each time to open. Is there
another way to get the workbook properties using OLEDB such as the
flag for Date1904? Thanks!
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
How to read workbook (not worksheet) properties with OLEDB 4everDad Excel Worksheet Functions 7 March 5th 08 01:58 PM
New user help and Excel read question (Interop and OleDb) sporadic Excel Programming 0 June 2nd 05 08:18 PM
New user help and Excel read question (Interop and OleDb) sporadic Excel Programming 0 June 2nd 05 07:55 PM
New user help and Excel read question (Interop and OleDb) sporadic Excel Programming 1 June 2nd 05 07:36 PM
New user help and Excel read question (Interop and OleDb) sporadic Excel Programming 0 June 2nd 05 03:40 PM


All times are GMT +1. The time now is 07:06 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"