View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
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..