I didn't get any responses but did manage to get some help at http://www.experts-exchange.com/Soft...html#a36250099
I'm posting here in case anybody else is stumped like I was ... it's handy to be able to send the cell address and contents in a single clipboard to excel
Sub clippy()
Dim strText As String
Dim varData, varSub
Dim Clip As Object
Set Clip = CreateObject( _
"new:{1C3B4210-F441-11CE-B9EA-00AA006B1A69}")
Clip.GetFromClipboard
strText = Clip.GetText
If InStr(1, strText, "|", vbTextCompare) > 0 Then
varData = Split(strText, "|")
varSub = Split(varData(1), vbcrlf)
With Range(Application.ConvertFormula(varData(0), xlR1C1, xlA1))
.Resize(UBound(varSub) + 1).Value = Application.Transpose(varSub)
End With
End If
Clip.SetText "Reddy"
Clip.PutInClipboard ' when my script sees the clipboard change/contain this word continue
Set Clip = Nothing
End Sub
Bookmarks