Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
If Intersect(Target, Range("A1:J281")) Is Nothing Then Exit Sub
Dim DataObj As New MSForms.DataObject
Dim S As String
S = Target.Text
DataObj.SetText S
DataObj.PutInClipboard
End Sub
Private Sub Workbook_SheetBeforeDoubleClick(ByVal Sh As Object, ByVal Target As Range, Cancel As Boolean)
Dim DataObj As New MSForms.DataObject
Dim S As String
If Intersect(Target, Range("A1:J281")) Is Nothing Then Exit Sub
Cancel = True
S = Target.Text
DataObj.SetText S
DataObj.PutInClipboard
End Sub
Sub Worksheet_SelectionChange(ByVal Target As Range) 'single click version
If Intersect(Target, Range("A1:J281")) Is Nothing Then Exit Sub
ActiveCell.Copy
End Sub
Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
If Intersect(Target, Range("A1:J281")) Is Nothing Then Exit Sub
Dim DataObj As New MSForms.DataObject
Dim S As String
S = Target.Text
DataObj.SetText S
DataObj.PutInClipboard
End Sub