Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to use some code I've found on Chip Pearson's web site to access
CustomDocumentProperties in Closed Files but without success. The code is as follows. Can anyone help? Dim FileName As String Dim DSO As DSOleFile.PropertyReader Set DSO = New DSOleFile.PropertyReader FileName = "C:\Book1.xls" With DSO.GetDocumentProperties(sfilename:=FileName) Debug.Print .AppName Debug.Print .Author Debug.Print .ByteCount Debug.Print .Company ' ' lots more properties ' End With __________________________________________________ ________________ |