LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Need VBA to capture who and when

You should have stayed in the original thread.
Right click the sheet tabview codecopy/paste

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Haroon" wrote in message
...
how do i put this code in excel to work?

anyone help pls
cheers

"Gary''s Student" wrote:

Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
rw = Target.Row
Cells(rw, "X").Value = Now
Cells(rw, "Y").Value = Environ("UserName")
Application.EnableEvents = True
End Sub
--
Gary''s Student - gsnu200721


 
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
Excel screen capture to capture cells and row and column headings jayray Excel Discussion (Misc queries) 5 November 2nd 07 11:01 PM
KeyAscii won't capture the <Tab key Bob Phillips Excel Programming 0 October 1st 06 09:39 AM
Capture AutoFill... Dev Excel Programming 1 September 25th 06 01:23 PM
Capture a worksheet in VBA Madiya Excel Programming 6 August 11th 06 03:40 PM
Up Capture Alex Excel Programming 0 July 26th 04 08:09 PM


All times are GMT +1. The time now is 02:18 AM.

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

About Us

"It's about Microsoft Excel"