Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

insert current date on click in one column

Status
Not open for further replies.

jacq

Technical User
Jan 3, 2001
38
0
0
GB
how do i select as a range a whole column, so that if someone clicks into any cell in that column it inserts the TODAY()
 
from Excel, I would do something like...

[tt]
Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, _
ByVal Target As Excel.Range)
If Sh.Name = "Sheet1" Then
If Target.Column = 4 Then
Target.Value = Now()
End If
End If
End Sub[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top