#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default Changing Author

Anybody know if I can use VBA to automatically change the author of an excel
file when I run a macro?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default Changing Author

The following code will change the author name:

ThisWorkbook.BuiltinDocumentProperties("Author"). _
Value = "Author Name"

See http://www.cpearson.com/excel/DocProp.aspx for much more code
working with both built-in and custom document properties.

Cordially,
Chip Pearson
Microsoft MVP 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com
[email on web site]



On Thu, 3 Dec 2009 06:54:02 -0800, dwake
wrote:

Anybody know if I can use VBA to automatically change the author of an excel
file when I run a macro?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel author name Jim Lynch Excel Discussion (Misc queries) 6 March 29th 10 04:40 PM
Set author for a comment? Myles Excel Discussion (Misc queries) 5 March 30th 09 07:09 PM
Changing the Default Author in Excel2003 [email protected] Setting up and Configuration of Excel 1 September 14th 07 06:38 PM
I am looking for the author of this script Mr BT Excel Worksheet Functions 4 August 6th 06 09:31 PM
print author jiwolf Excel Worksheet Functions 1 March 15th 06 08:28 PM


All times are GMT +1. The time now is 12:35 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"