VBA, clipboard and bitmaps?

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
 
S

Stephen Lebans

Matt you asked this very same question on October 22. I replied a couple
of days later. Do you not understand how to configure your NG reader to
show "replies to your posts".

Finally do you know how to search GoogleGroups in Advanced mode?
http://groups.google.com/groups?as_q=Kisasonak&safe=images&as_ugroup=*ac
cess*&as_scoring=d&lr=&num=100&hl=en
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top