Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default is there a way to save pictures in worksheet as graphic filse elsewhere?

is there a way to save pictures in a worksheet as graphic filse elsewhere
using VBA?

I need to save pictures in workbooks as separate JPG or GIF files. So far
haven't found a method. Why doesn't the Shape object support saving as
graphic file?

Has anyone ever faced this problem and succeeded?

Alfonso Gonzales


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default is there a way to save pictures in worksheet as graphic filse else

Just use the VBA equivalent of Insert Object


Sub Macro2()

'
Range("D8").Select
ActiveSheet.OLEObjects.Add(Filename:= _
"C:\Documents and Settings\Owner\Desktop\New Folder\DSC_0086.JPG",
Link:= _
False, DisplayAsIcon:=False).Select
End Sub

--
Gary''s Student


"alfonso gonzales" wrote:

is there a way to save pictures in a worksheet as graphic filse elsewhere
using VBA?

I need to save pictures in workbooks as separate JPG or GIF files. So far
haven't found a method. Why doesn't the Shape object support saving as
graphic file?

Has anyone ever faced this problem and succeeded?

Alfonso Gonzales



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default is there a way to save pictures in worksheet as graphic filse else


Hello

Thank you for the code. Perhaps my language wasnt clear enough in specifying
the problem. The solution I need should do the opposite: save a picture FROM
a workbook to a image file.

Alfonso Gonzales


Just use the VBA equivalent of Insert Object


Sub Macro2()

'
Range("D8").Select
ActiveSheet.OLEObjects.Add(Filename:= _
"C:\Documents and Settings\Owner\Desktop\New Folder\DSC_0086.JPG",
Link:= _
False, DisplayAsIcon:=False).Select
End Sub

--
Gary''s Student


"alfonso gonzales" wrote:

is there a way to save pictures in a worksheet as graphic filse elsewhere
using VBA?

I need to save pictures in workbooks as separate JPG or GIF files. So
far
haven't found a method. Why doesn't the Shape object support saving as
graphic file?

Has anyone ever faced this problem and succeeded?

Alfonso Gonzales





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 112
Default is there a way to save pictures in worksheet as graphic filse else

Hi Alfonso,

You could copy the picture then paste it onto a chart. Charts have an
Export method that can create a graphic file of what's displayed on the chart.


Regards,
Vic Eldridge


"alfonso gonzales" wrote:

is there a way to save pictures in a worksheet as graphic filse elsewhere
using VBA?

I need to save pictures in workbooks as separate JPG or GIF files. So far
haven't found a method. Why doesn't the Shape object support saving as
graphic file?

Has anyone ever faced this problem and succeeded?

Alfonso Gonzales



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default is there a way to save pictures in worksheet as graphic filse elsewhere?

Hi alfonso

Save the file as a webpage and you will get a htm file and a folder with the pictures

--
Regards Ron de Bruin
http://www.rondebruin.nl


"alfonso gonzales" wrote in message ...
is there a way to save pictures in a worksheet as graphic filse elsewhere using VBA?

I need to save pictures in workbooks as separate JPG or GIF files. So far haven't found a method. Why doesn't the Shape object
support saving as graphic file?

Has anyone ever faced this problem and succeeded?

Alfonso Gonzales




Reply
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
how do I delete a graphic from a worksheet briadea Excel Discussion (Misc queries) 4 October 30th 08 10:49 PM
Using Save As to Web Page feature in Excel produces blurry graphic Greg @ MWH Excel Discussion (Misc queries) 0 September 3rd 08 08:33 PM
Insert & link a graphic file in Excel 2003 -- updatable pictures! ODI Excel Discussion (Misc queries) 7 November 14th 05 02:36 PM
I can't see pictures attached in my mail, I have to save than see Hosam Khalaf Excel Discussion (Misc queries) 1 September 30th 05 02:15 AM
how to save pictures in excel as gif or jpg Sven Aeyels Excel Programming 1 March 5th 04 10:40 AM


All times are GMT +1. The time now is 11:27 AM.

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"