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


Is it possible to read the compound document properties from an Excel 2002 file using C++?
Those include for example title, author, subject and many other fields found in the Properties ta
in the File menu

I know how to read the normal data from cells, but that method doesn't apply to those properties(or i don't think
it does). And also there was this Microsoft KB article 186898 that decribed exactly that, but it doesn't seem to wor
with these newer file types, or the code itself is somehow obsolete for today's Visual Studio .NET that I use
(the code in the article was originally made for Win95 and Excel 97).

And I specifically need the C++ way. NOT VB, C# or any other..
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Compound Document Properties

I have no idea how to do it in C++, but there is a BuiltinDocumentProperties
collection in the object model. In VB, you can use

MsgBox Activeworkbook.BuiltinDocumentProperties ("Title")

for instance.

Checkout BuiltinDocumentProperties Property in Help for the list of items.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"CenturyChild" wrote in message
...

Is it possible to read the compound document properties from an Excel 2002

file using C++?
Those include for example title, author, subject and many other fields

found in the Properties tab
in the File menu.

I know how to read the normal data from cells, but that method doesn't

apply to those properties(or i don't think
it does). And also there was this Microsoft KB article 186898 that

decribed exactly that, but it doesn't seem to work
with these newer file types, or the code itself is somehow obsolete for

today's Visual Studio .NET that I use.
(the code in the article was originally made for Win95 and Excel 97).

And I specifically need the C++ way. NOT VB, C# or any other..



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
What is a compound document in excel? Example two please Debra.Asbridge New Users to Excel 2 December 12th 08 12:44 PM
Compound Document Excel Beginner Excel Discussion (Misc queries) 0 May 29th 08 06:31 PM
Excel/Compound Document Shanell Excel Discussion (Misc queries) 5 October 24th 07 10:45 PM
What is a compound document? Why might you need to create a compou 1st Lady Excel Discussion (Misc queries) 0 August 8th 06 06:59 PM
What is a compound document? 4urinfo Excel Discussion (Misc queries) 1 April 23rd 06 10:14 AM


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