A similar problem was posted some time ago (now in archive) relating to Excel 2003 but did not receive a reply.
I have exactly the same problem with Excel 2013 (32 bit) running on Windows 10 (64 bit) and I am hoping someone can help this time.
I am trying to read the propereties of closed files. I have downloaded the modDocumentProperties.bas file from Chip Pearson's site (http://www.cpearson.com/excel/DocProp.aspx) and imported it to my trial project. I have selected the DSO OLE Document Properties Reader 2.1 reference and installed the DSOFile DLL. The DSOFile demo works as expected on both Office files and pdf files.
Calling the function directly from the worksheet, loaded with the filename(including the path), the property name and set (built in, custom, both) but it always returns #NAME?
Calling the function from a macro gives the result shown in the screenshot attached.
I have to confess to being completely out of my depth and consiquently am not sure what questions to ask. I have whiled away a few happy hours (not) searching the web but cannot find enough to get to a point where trial and error works. I suspect the answer is simple and I am a right dumbo for not knowing it but for the life of me I cannot find an answer.
Can anybody help please?
I have exactly the same problem with Excel 2013 (32 bit) running on Windows 10 (64 bit) and I am hoping someone can help this time.
I am trying to read the propereties of closed files. I have downloaded the modDocumentProperties.bas file from Chip Pearson's site (http://www.cpearson.com/excel/DocProp.aspx) and imported it to my trial project. I have selected the DSO OLE Document Properties Reader 2.1 reference and installed the DSOFile DLL. The DSOFile demo works as expected on both Office files and pdf files.
Calling the function directly from the worksheet, loaded with the filename(including the path), the property name and set (built in, custom, both) but it always returns #NAME?
Calling the function from a macro gives the result shown in the screenshot attached.
I have to confess to being completely out of my depth and consiquently am not sure what questions to ask. I have whiled away a few happy hours (not) searching the web but cannot find enough to get to a point where trial and error works. I suspect the answer is simple and I am a right dumbo for not knowing it but for the life of me I cannot find an answer.
Can anybody help please?