M
Montana DOJ Help Desk
Word 2000
I have the following code for getting text off the clipboard (Variables
dim'd at the module level).
Private Sub ReadFromClipboard()
Set cbValue = New DataObject
cbValue.GetFromClipboard
cbData = Trim(cbValue.GetText)
Set cbValue = Nothing
End Sub
Now I need to do the same basic thing, but with an object instead of text.
The object is a picture that is copied to the clipboard manually, while
working in another application. I've experimented a bit with this, but
cannot get it to read an object off the clipboard. Does anyone know how
this can be done?
--
State of Montana
Department of Justice Help Desk
"Making the world a safer place."
I have the following code for getting text off the clipboard (Variables
dim'd at the module level).
Private Sub ReadFromClipboard()
Set cbValue = New DataObject
cbValue.GetFromClipboard
cbData = Trim(cbValue.GetText)
Set cbValue = Nothing
End Sub
Now I need to do the same basic thing, but with an object instead of text.
The object is a picture that is copied to the clipboard manually, while
working in another application. I've experimented a bit with this, but
cannot get it to read an object off the clipboard. Does anyone know how
this can be done?
--
State of Montana
Department of Justice Help Desk
"Making the world a safer place."