Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
What is a compound document in excel? Example two please | New Users to Excel | |||
Compound Document | Excel Discussion (Misc queries) | |||
Excel/Compound Document | Excel Discussion (Misc queries) | |||
What is a compound document? Why might you need to create a compou | Excel Discussion (Misc queries) | |||
What is a compound document? | Excel Discussion (Misc queries) |