I am working with the XlsFile class to read an excel file. The excel document has some custom document properties as created in a macro by:
ThisWorkbook.CustomDocumentProperties.Add _
Name:="By Days", LinkToContent:=False, Type:=4, Value:=CStr(bDays)
ThisWorkbook.CustomDocumentProperties.Add _
Name:="From", LinkToContent:=False, Type:=4, Value:=FormatDateTime(dtPlanFrom)
ThisWorkbook.CustomDocumentProperties.Add _
Name:="To", LinkToContent:=False, Type:=4, Value:=FormatDateTime(dtPlanTo)
Name:="By Days", LinkToContent:=False, Type:=4, Value:=CStr(bDays)
ThisWorkbook.CustomDocumentProperties.Add _
Name:="From", LinkToContent:=False, Type:=4, Value:=FormatDateTime(dtPlanFrom)
ThisWorkbook.CustomDocumentProperties.Add _
Name:="To", LinkToContent:=False, Type:=4, Value:=FormatDateTime(dtPlanTo)
I am having difficulty reading the custom document properties using the XlsFile class. Does anyone know how this is done?
Thanks
Russell Smith