All good. it work perfectly now, much appreciated, cheers Chris
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | |
1 | |||||||||||||||
2 | |||||||||||||||
3 | |||||||||||||||
4 | |||||||||||||||
5 | LOCATION | MFG | LVL1 | LVL2 | LVL3 | BLDG | RM | USE | |||||||
6 | |||||||||||||||
7 | A1 | ACME | 10 | SAM | AA | CLS | |||||||||
8 | A2 | JONES | 11 | ALI | BB | CR | |||||||||
9 | A3 | BROWN | 12 | MIKE | CC | CCR | |||||||||
10 | A4 | 13 | BOB | DD | GCR | ||||||||||
11 | A5 | NANCY | EE | BCR | |||||||||||
12 | A6 | VICKY | FF | JOC | |||||||||||
13 | TOM | GG | NOC | ||||||||||||
14 | HH | ||||||||||||||
15 | II | ||||||||||||||
16 | JJ | ||||||||||||||
17 | KK | ||||||||||||||
18 | LL | ||||||||||||||
19 | |||||||||||||||
20 | |||||||||||||||
21 | |||||||||||||||
22 | |||||||||||||||
23 | |||||||||||||||
24 | |||||||||||||||
25 | |||||||||||||||
26 | |||||||||||||||
27 | |||||||||||||||
28 | |||||||||||||||
29 | |||||||||||||||
30 |
Put this script in sheet named
Options
Code:Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean) 'Modified 8/28/2018 10:57:21 AM EDT If Not Intersect(Target, Range("A:A")) Is Nothing Then If Target.Cells.Count > 1 Or IsEmpty(Target) Then Exit Sub Cancel = True Dim Lastrow As Long Lastrow = Sheets("List").Cells(Rows.Count, "A").End(xlUp).Row + 1 Target.Copy Sheets("List").Cells(Lastrow, 1) End If End Sub
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
'Modified 12/6/2019 4:22:12 PM EST
If Not Intersect(Target, Range("C:C")) Is Nothing Then
If Target.Cells.Count > 1 Or IsEmpty(Target) Then Exit Sub
Cancel = True
Dim Lastrow As Long
Lastrow = Sheets(2).Cells(Rows.Count, "E").End(xlUp).Row + 1
If Lastrow < 14 Then Lastrow = 15
Target.Copy Sheets(2).Cells(Lastrow, "E")
End If
End Sub
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Not Intersect(Target, Range("H:H")) Is Nothing Then
Range("K" & Rows.Count).End(xlUp).Offset(1).Value = Target
Cancel = True
End If
End Sub