ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   is it possible to print file properties in excel? (https://www.excelbanter.com/excel-discussion-misc-queries/39861-possible-print-file-properties-excel.html)

Chrystalla

is it possible to print file properties in excel?
 
Can the file properties in Excel be printed? How?

Norman Jones

Hi Chrysalla,

Sub Tester()
Dim dProp As DocumentProperty
Dim WB As Workbook
Dim i As Long

Set WB = ActiveWorkbook

For Each dProp In WB.BuiltinDocumentProperties
On Error Resume Next
Debug.Print dProp.Name, dProp.Value
On Error GoTo 0
Next dProp

End Sub


---
Regards,
Norman



"Chrystalla" wrote in message
...
Can the file properties in Excel be printed? How?





All times are GMT +1. The time now is 05:49 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com