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_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
If Intersect(Target, Sh.Range("A1:J281")) Is Nothing Then Exit Sub
Dim DataObj As Object
Dim S As String
Set DataObj = GetObject("New:{1C3B4210-F441-11CE-B9EA-00AA006B1A69}")
S = ActiveCell.Text
DataObj.SetText S
DataObj.PutInClipboard
End Sub
Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
If Intersect(Target, Sh.Range("A1:J10000")) Is Nothing Then Exit Sub
Dim DataObj As Object
Dim S As String
Set DataObj = GetObject("New:{1C3B4210-F441-11CE-B9EA-00AA006B1A69}")
S = ActiveCell.Text
DataObj.SetText S
DataObj.PutInClipboard
End Sub
Sub Worksheet_SelectionChange(ByVal Target As Range) 'single click version If Intersect(Target, Range("B2:G10")) Is Nothing Then Application.CutCopyMode = False 'clears clipboard and stops cell flashing - like pushing escape key Exit Sub Else ActiveCell.Copy End If End Sub</pre>