M
Matt Kisasonak
I am using this code in VB to save the contents of the
clipboard as an bitmap file. How can this be done with
VBA since DataObject only supports text?
'Save as picture
Dim ClipPic As New StdPicture
Set ClipPic = Clipboard.GetData()
strFileName = "C:\Program Files\temp.bmp"
SavePicture ClipPic, strFileName
Set ClipPic = Nothing
clipboard as an bitmap file. How can this be done with
VBA since DataObject only supports text?
'Save as picture
Dim ClipPic As New StdPicture
Set ClipPic = Clipboard.GetData()
strFileName = "C:\Program Files\temp.bmp"
SavePicture ClipPic, strFileName
Set ClipPic = Nothing