-----Original Message-----
Private Sub Worksheet_Activate()
x = ActiveSheet.Name
i = 2
Do
If Sheets("Summary").Cells(i, 1) = "" Then
Sheets("Summary").Cells(i, 1) = Application.UserName
Sheets("Summary").Cells(i, 2) = x
Sheets("Summary").Cells(i, 3) = Now()
GoTo ext
Else
i = i + 1
End If
Loop
ext:
End Sub
you create a sheet, name= Summary
A column User name
B column sheet name which is using by user
C column Date
-----Original Message-----
I would like to write a macro by depending on the user SELECTED
worksheet to work on something.
Is it possible to detect (know) which page or pages are selected by the
user? please
Thank a lot!!
------------------------------------------------
[/url]
~~ View and post usenet messages directly from
http://www.ExcelForum.com/
.
.