How do i read/set customdocumentproperties in excel? RRS feed

  • Question

  • Hi,
    I'm using Microsoft.Office.Interop.Excel, but i just can't seem to get custom properties to work.
    Activeworkbook.CustomDocumentProperties does not give me and Add method.
    I have tried with some invokemember procedures, which seems to work out, but it is alittle complex. I have no idea how to change them to do other things (like update a property instead of add'ing).

    Is it not possible to use CustomDocumentProperties in excel?

    Also, i allready use Microsoft.Office.Interop.Excel, so i would prefer not having to use DSOfile.dll.
    Tuesday, February 10, 2009 7:40 AM