Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Dim MyData As New DataObject
If Target.Address(0, 0) = "A1" Then
Set MyData = New DataObject
MyData.SetText ActiveSheet.Name
MyData.PutInClipboard
End If
End Sub
Sub Macro9()
'
' Macro9 Macro
'
' Keyboard Shortcut: Ctrl+p
Dim MyData As New DataObject
Set MyData = New DataObject
MyData.SetText ActiveSheet.Name
MyData.PutInClipboard
End Sub
what do you do with New:{1C3B4210-F441-11CE-B9EA-00AA006B1A69} can it be any other string with the same lenght?