Is it possible to print the document properties in Excel?

P

pcastillo

I have an excel workbook that is on a sharepoint site with custom document
properties. Can I print these properties when I print the workbook?
 
G

Gord Dibben

To get a list of all Custom Properties run the following macro.

Sub customprops()
rw = 1
Worksheets.Add
For Each p In ActiveWorkbook.CustomDocumentProperties
Cells(rw, 1).Value = p.Name
Cells(rw, 3).Value = p.Value
rw = rw + 1
Next
End Sub


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top