View Single Post
 
Old 12-04-2014, 01:51 AM
arjfca arjfca is offline Windows 7 64bit Office 2013
Novice
 
Join Date: Nov 2014
Posts: 9
arjfca is on a distinguished road
Default Getting the clipboard value: Dataobject error

Hello

Word 2013
Win 7 64 bit


I want to retrieve the value of the clipboard in a variable To do so, I found a little piece of code

Word is giving error on
Code:
Dim MyData As DataObject
Code:
Dim MyData As DataObject
Dim strClip As String

Set MyData = New DataObject
MyData.GetFromClipboard
strClip = MyData.GetTextipboard()
Reply With Quote