LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default store SHAPE-Object on disk

Hello,

I have an Excel sheet with one or more shape objects (pictures).
I need to programm a little VBA-routine to extract these pictures form the
sheet and store them on disk.

I already know how to extract the SHAPES:

Dim varPicture As Shape
For Each varPicture In ActiveSheet.Shapes
varPicture.Select
Next varPicture

I even know how to store them in the clipboard-device:
varPicture.CopyPicture

But how can I store them on disk. What doesn't work (but explains my problem
well): varPicture.savetofile "c:\myPic.bmp"

Who knows better?

Heiko


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
shape object on a userform? Alan Ibbotson Excel Programming 5 April 25th 05 01:24 PM
Saving embedded object to disk cbhanes Excel Programming 0 May 10th 04 04:02 PM
How to tell wich object/shape was clicked Andrew Ofthesong Excel Programming 2 December 1st 03 05:05 PM
XL2000: Shape object events GSQUARED Excel Programming 1 October 22nd 03 05:15 PM
Hyperlink within the TextFrame of Shape Object..? Robert Stober Excel Programming 0 October 12th 03 10:05 PM


All times are GMT +1. The time now is 11:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"