Results 1 to 2 of 2
  1. #1
    Silver Lounger
    Join Date
    Dec 2000
    Location
    California, USA
    Posts
    1,758
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Document Properties (XP; SP3)

    I have been toying with Chip Pearson's Document Properties Of Closed Files DSO Version 2.0 and was wondering where I can obtain a list of document properties.

    The following code illustrates how to read document properties using DSO version 2.0.

    Dim FileName As String
    Dim DSO As DSOFile.OleDocumentProperties
    Set DSO = New DSOFile.OleDocumentProperties
    FileName = "C:Book1.xls"
    DSO.Open sfilename:=FileName
    Debug.Print DSO.SummaryProperties.ApplicationName
    Debug.Print DSO.SummaryProperties.Author
    ' lots of other properties ......Looking to find the laundry list of other properties
    DSO.Close

    Thanks,
    John

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Document Properties (XP; SP3)

    The list of available properties is not exposed in the DSO object model. You can look up the list in the online help (look fot DocumentProperty, or in the Object Browser (type SummaryProperties in the search box).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •