docgaq.blogg.se

Document properties word status
Document properties word status








document properties word status

There’s no direct way to use document properties in the worksheet! CustomDocumentProperties(Info_needed).Value Note that there’s no error checking, if you request a property that isn’t set or existing, an error is returned.įor custom properties you need a slightly different function such as: Private Function DocPropCustom(Info_needed As String) As VariantĭocPropCustom = ThisWorkbook. The full list of available properties is here – where you’ll also find details of the VBA property used.

document properties word status

Use any of the regular document property names, including

document properties word status

Use this formula to add a property to the worksheet: =docprop("Author") Private Function DocProp(Info_needed As String) As VariantĭocProp = ThisWorkbook.BuiltinDocumentProperties(Info_needed).Value We found this one here from ‘Jon-jon’, thanks. In Excel, the only way to add document properties into a worksheet is via a custom function. Go to File | Info in Excel 2013 (Prepare | Properties in Excel 2007) and all the properties are there including a document panel, advanced and custom properties, same as in Word. You can add and edit document properties in worksheets much the same as in Word documents. We also complained about the poor support for properties in Excel. We’ve already told you about document properties and how useful they are in Word.










Document properties word status