User Stamp

Mr. Walnuts

Board Regular
Joined
Aug 8, 2005
Messages
176
Ok, if someone creates an Excel workbook, excel automatically notes that user as the "Author" of the workbook; where does excel get that information?

I have a VBA Procedure that Date / Time stamps the workbook based on the 'change' event; but I would like it to also "user stamp" it as well so recipients know who last updated the document, but I don't know where excel gets the information on the current windows user.

Does anyone know what that object/property is called?
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Either
Code:
Environ("UserName") or Application.UserName
The first returns the network log-in name.
The 2nd returns the Application Name found in Tools>Options>General Tab / This can, of course, easily be changed. I'm 99% sure you want to use Environ

lenze
 
Upvote 0
Great Article!

I bookmarked it for future use.
For this application though, it's primarily for recipients that print out the Maint sheet from the workbook. One of the other users added a Today() value at the top that confuses the crap out of people and inaccurately implies the sheet was updated the same day it was printed. I just wanted to get rid of the misleading time/date and add the "Last Updated By" stamp for GP.

thank you though.
 
Upvote 0

Forum statistics

Threads
1,202,983
Messages
6,052,907
Members
444,611
Latest member
ggwpnore

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top