How can I include file properties in an excel spreadsheet

G

Guest

I frequently save file properties such as the title, author, company name etc
and wanted to be able to use these values in excel without having to retype
them in the spreadsheet.

I can do this in word using the insert field function in Microsoft word, do
you know if there is anything similar in excel?
 
G

Guest

You can create tiny functions (UDFs) to get you the information. For example:

Function author()
author = ActiveWorkbook.BuiltinDocumentProperties(3)
End Function

So in a worksheet

=author()

will display the author's name.
 

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