Reads a built-in property from an Excel workbook.
'Assembly: Microsoft.Office.Interop.Excel.dll
'Assembly: Office.dll
'Namespace: Excel = Microsoft.Office.Interop.Excel
'Namespace: Office = Microsoft.Office.Core
'Dim propertyValue AS Microsoft.Office.Core.DocumentProperty = "propertyValue"
'Dim workbook AS Microsoft.Office.Interop.Excel.Workbook = "workbook"
Dim docProperties As Office.DocumentProperties = DirectCast(workbook.BuiltinDocumentProperties, Office.DocumentProperties)
Dim propertyValue As Office.DocumentProperty = DirectCast(docProperties.Item(propertyName), Office.DocumentProperty)