![]() |
Using VBA to find the author of a workbook
Does anyone know how to programatically (using VBA) find the author of a file
(File menu, Properties and Author) as I can't record it or find it in the object browser |
Using VBA to find the author of a workbook
Activeworkbook.BuiltinDocumentProperties("author") -- HTH Bob Phillips " m wrote in message ... Does anyone know how to programatically (using VBA) find the author of a file (File menu, Properties and Author) as I can't record it or find it in the object browser |
Using VBA to find the author of a workbook
Hi James,
Try this.... sub test() dim strNameOfAuthor as string strNameOfAuthor = ThisWorkbook.BuiltinDocumentProperties("Author") msgbox "The Author name is " & cstr(strNameOfAuthor) end sub -- www.alignment-systems.com " wrote: Does anyone know how to programatically (using VBA) find the author of a file (File menu, Properties and Author) as I can't record it or find it in the object browser |
Using VBA to find the author of a workbook
Thanks Bob that was very helpful
"Bob Phillips" wrote: Activeworkbook.BuiltinDocumentProperties("author") -- HTH Bob Phillips " m wrote in message ... Does anyone know how to programatically (using VBA) find the author of a file (File menu, Properties and Author) as I can't record it or find it in the object browser |
Using VBA to find the author of a workbook
Thanks John - very useful
James "John.Greenan" wrote: Hi James, Try this.... sub test() dim strNameOfAuthor as string strNameOfAuthor = ThisWorkbook.BuiltinDocumentProperties("Author") msgbox "The Author name is " & cstr(strNameOfAuthor) end sub -- www.alignment-systems.com " wrote: Does anyone know how to programatically (using VBA) find the author of a file (File menu, Properties and Author) as I can't record it or find it in the object browser |
All times are GMT +1. The time now is 12:14 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com