Change User Name with VBA

Automate Excel

Change User Name with VBA

You can change the default username with vba. This is the default name that shows in “macro recorded by”, new comments, “last saved by” etc..

1. Put the following code somewhere in your macro

Application.UserName = "MonkeyCoder"

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.