Hi all,
I have a worksheet and want to record a name, date and time stamp when any data is chance on the sheet, i have attached a document to illistrate what i am looking for, any help will be most greatfully received.
Hope you are all well.
D
Hi all,
I have a worksheet and want to record a name, date and time stamp when any data is chance on the sheet, i have attached a document to illistrate what i am looking for, any help will be most greatfully received.
Hope you are all well.
D
Right click the sheet tab, select "View Code" & paste the below in the window that opens:
You could use Eviron("UserName") instead of Application.UserName depending on what you actually want to show.Please Login or Register to view this content.
BSB
Thanks works great, much appreciated
No problem. Happy to help
BSB
Put this into the worksheet code.
Please note that I don't know where you would get the persons name that made the change, So I grab the system username for example purpouses (marked in red). You can change that bit to your own needs.
Please Login or Register to view this content.
Tuomas "Banaanas" Savonius
Trying to give back now when I actually can do some VBA
Out of curiosity, what is the benefit of your long code snippet over BSB's very short and efficient code?
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Pretty much nothing. The main difference is declaring and setting variables used in the code. Not that important with a simple macro that this is.
I started answering this and went to lunch, didn't refresh the thread before posting my solution BSB's code is almost identical.
Thanks for clarifying.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks