Retrieving custom document properties - Excel 2007

  • Thread starter Thread starter Barb Reinhardt
  • Start date Start date
Here's the rest of my message.

I've used VBA in Excel 2003 to retrieve Custom document properties and it
works well. However, when I'm testing my file in 2007, it gets held up here

Set objDocProperties = CreateObject("DSOFile.OleDocumentProperties")

I've got the reference set for DSO OLE Document Properties reader 2.1
within the VBE

In this KB article ( http://support.microsoft.com/kb/224351 ) it states
that it should work if I have the compatibility pack installed. Every time I
open EXcel 2007 it shows COMPATIBILITY mode at the top, so I have to assume
it's there.

Can someone assist? I use this macro once a month to pull data for an
operations review and there is no way I can go back to doing it manually.

Thanks,

Barb Reinhardt
 
Every time I open EXcel 2007 it shows COMPATIBILITY mode at the top, so I
Compatibility mode is different that the Compatibility Pack. If you have
the later installed you can open Excel 2007 files (XLSX, etc.) in Excel
2003. If in doubt try to install it again.

--
Jim
| Here's the rest of my message.
|
| I've used VBA in Excel 2003 to retrieve Custom document properties and it
| works well. However, when I'm testing my file in 2007, it gets held up
here
|
| Set objDocProperties = CreateObject("DSOFile.OleDocumentProperties")
|
| I've got the reference set for DSO OLE Document Properties reader 2.1
| within the VBE
|
| In this KB article ( http://support.microsoft.com/kb/224351 ) it states
| that it should work if I have the compatibility pack installed. Every
time I
| open EXcel 2007 it shows COMPATIBILITY mode at the top, so I have to
assume
| it's there.
|
| Can someone assist? I use this macro once a month to pull data for an
| operations review and there is no way I can go back to doing it manually.
|
| Thanks,
|
| Barb Reinhardt
|
|
 
I get Runtime error 429. ActiveX component can't create object

Barb Reinhardt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top