DSOFile.dll error - The document is not an OLE file

B

Bill Brunt

Hi -

I'm getting the error "The document is not an OLE file, and does not support
extended document properties" when I query the custom properties in an Excel
2007 using http://support.microsoft.com/default.aspx/kb/224351?p=1. The same
VBA code works fine when I run on 32 bit versions of Windows 2003 and Windows
Vista but I get that error when I run on 64 bit version of Windows 7.

I don't know how many folks are running 64 bit Windows 7 but I do know it
will be more and more and am hoping to fix as I cannot run on my laptop.

- Bill
 
P

Peter T

If you are using 64 bit Office 2010 that'll be the reason. Unfortunately Com
& ActiveX (which is what that dll is) will not be supported, a major problem
for some. However AFAIK it should work in 64 bit windows with 32 bit Office,
but I can't test.

Regards,
Peter T
 
B

Bill Brunt

I did a regsvr32 c:\dsofile\dsofile.dll and it said it succeeded.

If this just doesn't work....is there a way in VBA to read the custom
document properties of an Excel 2007 without opening it...?
 
B

Bill Brunt

I did register via regsvr32 c:\dsofile\dsofile.dll and it still doesn't work.

Is there a way to read custom documents properties in an Excel 2007 file
without opening it?
 

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

Top