Change User Name with VBA

Associated Files Download Links

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..

Change User Name in VBA

Put the following code somewhere in your macro:

VBA Coding Made Easy

Stop searching for VBA code online. Learn more about AutoMacro – A VBA Code Builder that allows beginners to code procedures from scratch with minimal coding knowledge and with many time-saving features for all users!

alt text

Learn More!

<<Return to VBA Examples

Did you find this VBA tutorial useful? Then share it with your friends and colleagues:

You may also like some of this related content...

When creating an Excel template you may want to turn off the formula bar to
When writing a macro there are times when you don't need to prompt the user
You can modify the titlebar to whatever text you'd like. We make usre of the
Page Break Preview Mode To place Sheet1 in Page Break Preview View from code: Sheet1.Activate
Whenever you update a cell, Excel goes through a process to recalculate the workbook. When