How to print Excel Metadata in Excel 2010

smhish

New Member
Joined
Feb 20, 2015
Messages
2
I can find multiple post on how to hide it, even how to display it on screen.
I have found some VBA showing how to print a list of the properties and VBA to print propteries to the Immediate window. All of these are "almost" what I need.
I need to be able to "print the properites" to a new worksheet within the Excel file. Or print it to a txt file that I could copy and paste back into the workbook.
VBZ is my curiosity not my strength.
Any help is appreciated.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Welcome to the forum.

How about:

Code:
Sub ShowProperties()
Dim strProperty

    On Error Resume Next
    
    With Sheets.Add
        r = 1
        For Each strProperty In ThisWorkbook.BuiltinDocumentProperties
            .Cells(r, "A") = strProperty.Name
            .Cells(r, "B") = strProperty.Value
            r = r + 1
        Next strProperty
    End With
        
End Sub

Let me know if you need instructions how to use it.
 
Upvote 0
While I may look like I am sitting at my desk grinning...i am dancing down the hall yelling hallejuiahs shocking my neighbors!
Thank you!

Welcome to the forum.

How about:

Code:
Sub ShowProperties()
Dim strProperty

    On Error Resume Next
    
    With Sheets.Add
        r = 1
        For Each strProperty In ThisWorkbook.BuiltinDocumentProperties
            .Cells(r, "A") = strProperty.Name
            .Cells(r, "B") = strProperty.Value
            r = r + 1
        Next strProperty
    End With
        
End Sub

Let me know if you need instructions how to use it.
 
Upvote 0
Your neighbors need to be shocked once in a while, keeps them on their toes!

Glad I could help! :cool:
 
Upvote 0

Forum statistics

Threads
1,215,036
Messages
6,122,794
Members
449,095
Latest member
m_smith_solihull

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top