Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'd like to access the file properties of non-office files.
I've got drawing files, pdf, and several other formats. It's got to be some sort of generic way to edit the custom value of the file. i.e. right click a file, properties, summary tab, title, subject, author, category etc.... sometimes I get a custom tab with additional values.. I'd like to be able to read and write to those fields in a file. I believe it the metadata of a file. Can someone lead me in the right direction here? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try searching this forum for file system objects
-- HTH... Jim Thomlinson "Benjamin" wrote: I'd like to access the file properties of non-office files. I've got drawing files, pdf, and several other formats. It's got to be some sort of generic way to edit the custom value of the file. i.e. right click a file, properties, summary tab, title, subject, author, category etc.... sometimes I get a custom tab with additional values.. I'd like to be able to read and write to those fields in a file. I believe it the metadata of a file. Can someone lead me in the right direction here? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have code to get and set both custom and built-in properties from
open or closed workbooks at http://www.cpearson.com/excel/DocProp.aspx Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group, 1998 - 2009 Pearson Software Consulting, LLC www.cpearson.com (email on web site) On Tue, 15 Sep 2009 08:56:01 -0700, Benjamin wrote: I'd like to access the file properties of non-office files. I've got drawing files, pdf, and several other formats. It's got to be some sort of generic way to edit the custom value of the file. i.e. right click a file, properties, summary tab, title, subject, author, category etc.... sometimes I get a custom tab with additional values.. I'd like to be able to read and write to those fields in a file. I believe it the metadata of a file. Can someone lead me in the right direction here? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Look at the Ms wia dll it allows you to read write image properties
BUT not IPTC or XMP or Picasa People or GPS tags Using shell Sub tryita() Dim DSO As DSOFile.OleDocumentProperties Dim CustProps As DSOFile.CustomProperties Dim ii As Integer Set DSO = New DSOFile.OleDocumentProperties DSO.Open "c:\5\dscf1220.jpg", True, dsoOptionDefault Set CustProps = DSO.CustomProperties Cells(2, 2) = CustProps.Count For ii = 0 To CustProps.Count Cells(ii + 5, 3) = CustProps(ii).Name Cells(ii + 5, 6) = CustProps(ii).Value Next ii DSO.Close End Sub Gives a combination of the KeyWords from both groups which can be merged.. AND then writen using wia... The Windows API Code pack ... dll and Microsoft.WindowsApiCodePack.Shell ...DLL Seem to ofer a solution IF ANYONE can get the dll that will reference from excel HELP Help and F1 Harry S "Benjamin" wrote: I'd like to access the file properties of non-office files. I've got drawing files, pdf, and several other formats. It's got to be some sort of generic way to edit the custom value of the file. i.e. right click a file, properties, summary tab, title, subject, author, category etc.... sometimes I get a custom tab with additional values.. I'd like to be able to read and write to those fields in a file. I believe it the metadata of a file. Can someone lead me in the right direction here? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Error after chaging file access in Office 2007 | Excel Programming | |||
opening excel files from access 2003, win xp, office 2003 | Excel Discussion (Misc queries) | |||
How can I access/display File -> properties in a cell | Excel Discussion (Misc queries) | |||
how do i create an access code sheet to number my office files an. | New Users to Excel | |||
How to open a specific MS office file using button in Access? | Excel Programming |