Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 410
Default Save username and date

I woudl like to track changes as they happen to a sheet. Not the
changes themselves but who actually changed them and when. Something
like
Dim LstRw As Long
LstRw = Range("A65536").End(xlup).Row + 1
Range("A" & LstRw) = UserName and Now()

I am not sure how this is done.

thanks,
Jay
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 410
Default Save username and date

On Apr 29, 8:50*am, jlclyde wrote:
I woudl like to track changes as they happen to a sheet. *Not the
changes themselves but who actually changed them and when. *Something
like
Dim LstRw As Long
LstRw = Range("A65536").End(xlup).Row + 1
Range("A" & LstRw) = UserName and Now()

I am not sure how this is done.

thanks,
Jay


I found it. It is Application.UserName
Sorry,
Jay
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Save username and date

FYI Application.UserName returns the name that the user supplied when XL was
installed. It can also be changed by the user at any time. Generally speaking
you are better of using the Windows login name.

cells(rows.count, "A").end(xlup).offset(1,0).value = Environ("Username")
--
HTH...

Jim Thomlinson


"jlclyde" wrote:

On Apr 29, 8:50 am, jlclyde wrote:
I woudl like to track changes as they happen to a sheet. Not the
changes themselves but who actually changed them and when. Something
like
Dim LstRw As Long
LstRw = Range("A65536").End(xlup).Row + 1
Range("A" & LstRw) = UserName and Now()

I am not sure how this is done.

thanks,
Jay


I found it. It is Application.UserName
Sorry,
Jay

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
save as future date eg expected delivery date ryan Excel Discussion (Misc queries) 0 June 21st 07 03:35 PM
Username Date and Time Annie Excel Discussion (Misc queries) 2 June 8th 07 11:45 PM
Username & Date/Time Stamp Ken D Excel Discussion (Misc queries) 4 March 19th 06 02:23 PM
Username Log PaulJ Excel Discussion (Misc queries) 8 March 1st 06 11:51 AM
NT Username ceemo Excel Discussion (Misc queries) 4 August 2nd 05 04:39 PM


All times are GMT +1. The time now is 03:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"