Hi,
i want to put string from vba to clipboard:
this is working.![]()
Dim DataObj As New MSForms.DataObject DataObj.SetText "working" DataObj.PutInClipboard
But if i want to use variable:
the copid string is "strName", not "working"![]()
Dim DataObj As New MSForms.DataObject Dim strName as string strName = "working" DataObj.SetText strName DataObj.PutInClipboard
how to do this?
Please help,
Jacek
Bookmarks