Prohibiting the change of Author Name on Worksheets

T

Turnerpla

Is there a way I can probihit someone from changing the name of Author that
created a Worksheet?

Thanks for help.
Turnerpla
 
C

CLR

I don't know if you can prevent the change from being made, but you could
automatically return it to a pre-set value with a Change Event macro, like
Before Close, or Before Save..........include this line of code:

ThisWorkbook.BuiltinDocumentProperties("Author").Value = "OriginalAuthorName"

Of course replacing the text OriginiaAuthorName with the name of the
Author you choose.....

But remember, if macros are disabled, this won't work.....

Vaya con Dios,
Chuck, CABGx3
 
T

Turnerpla

Thank you.

CLR said:
I don't know if you can prevent the change from being made, but you could
automatically return it to a pre-set value with a Change Event macro, like
Before Close, or Before Save..........include this line of code:

ThisWorkbook.BuiltinDocumentProperties("Author").Value = "OriginalAuthorName"

Of course replacing the text OriginiaAuthorName with the name of the
Author you choose.....

But remember, if macros are disabled, this won't work.....

Vaya con Dios,
Chuck, CABGx3
 

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