ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Record Actions (https://www.excelbanter.com/excel-programming/421689-record-actions.html)

Martin

Record Actions
 
Hello,

I was wondering if there was a way of making a note of a users actions,
either from keyboard or mouse i.e. right hand mouse click | delete.

I have the following code:

Private Sub Worksheet_Change(ByVal Target As Range)

If Sheets(Environ("username")).Range("A2").Value = Empty Then
Sheets(Environ("username")).Range("A2").Value = Target.Address

Else

Worksheets(Environ("username")).Range("A65536").En d(xlUp)(2).Value =
Target.Address

End If

End Sub

This records the cell that the user has changed so all I need now is to
record the action. Is this possible?

Thanks in advance.

Martin


All times are GMT +1. The time now is 04:50 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com