Hi guys. i am working on my offices inventory spreadsheet. We have to log in and out materials that are kept in a freezer. i have set up the following macro so that users can double click to insert the Tim stamp
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Intersect(Target, Range("timestamp")) Is Nothing Then Exit Sub
Target = Now
Cancel = True
End Sub
My problem is, i want to apply this macro to B11:U12, B17:U18, B23:U24 and so on for about 1000 rows. I have labeld B11:U12 as "timestamp" (not important to be named). how can my macro do this to all proceeding ranges?
Example worksheet upon request
Bookmarks