Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 135
Default Export Shape as gif or bmp?

Is it possible to export a shape as a gif or bmp image to a Windows folder
using Excel or vba?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Export Shape as gif or bmp?

Export is a property of a chart, so you would have to put the shape on a
chart and export the chart. You can create a blank chart, so that approach
isn't as far fetched as it might sound.

Regards,
Tom Ogilvy

"shockley" wrote in message
...
Is it possible to export a shape as a gif or bmp image to a Windows folder
using Excel or vba?




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default Export Shape as gif or bmp?

try one of these

Sub ExportChartGIF()
ActiveChart.Export Filename:="C:\a\MyChart.gif", _
FilterName:="GIF"
End Sub

Sub ExportChartJPG()
ActiveChart.Export Filename:="C:\a\MyChart.jpg", _
FilterName:="jpeg"
End Sub
"shockley" wrote in message
...
Is it possible to export a shape as a gif or bmp image to a Windows folder
using Excel or vba?




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 135
Default Export Shape as gif or bmp?

Thanks to both of you. It looks like it will work--I'm going to see how far
I can go with it.

Regards,
Shockley



"Don Guillett" wrote in message
...
try one of these

Sub ExportChartGIF()
ActiveChart.Export Filename:="C:\a\MyChart.gif", _
FilterName:="GIF"
End Sub

Sub ExportChartJPG()
ActiveChart.Export Filename:="C:\a\MyChart.jpg", _
FilterName:="jpeg"
End Sub
"shockley" wrote in message
...
Is it possible to export a shape as a gif or bmp image to a Windows

folder
using Excel or vba?






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,489
Default Export Shape as gif or bmp?

Hi shockley,

This may save you some time.
(http://www.andypope.info/vba/gex.htm)

shockley wrote:

Thanks to both of you. It looks like it will work--I'm going to see how far
I can go with it.

Regards,
Shockley



"Don Guillett" wrote in message
...

try one of these

Sub ExportChartGIF()
ActiveChart.Export Filename:="C:\a\MyChart.gif", _
FilterName:="GIF"
End Sub

Sub ExportChartJPG()
ActiveChart.Export Filename:="C:\a\MyChart.jpg", _
FilterName:="jpeg"
End Sub
"shockley" wrote in message
...

Is it possible to export a shape as a gif or bmp image to a Windows


folder

using Excel or vba?







--

Cheers
Andy

http://www.andypope.info



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 135
Default Export Shape as gif or bmp?

Thanks, I'll give it a try.


"Andy Pope" wrote in message
...
Hi shockley,

This may save you some time.
(http://www.andypope.info/vba/gex.htm)

shockley wrote:

Thanks to both of you. It looks like it will work--I'm going to see how

far
I can go with it.

Regards,
Shockley



"Don Guillett" wrote in message
...

try one of these

Sub ExportChartGIF()
ActiveChart.Export Filename:="C:\a\MyChart.gif", _
FilterName:="GIF"
End Sub

Sub ExportChartJPG()
ActiveChart.Export Filename:="C:\a\MyChart.jpg", _
FilterName:="jpeg"
End Sub
"shockley" wrote in message
...

Is it possible to export a shape as a gif or bmp image to a Windows


folder

using Excel or vba?







--

Cheers
Andy

http://www.andypope.info



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
Export Excel tuncating leading zeros while export to excel from da RHBKV Setting up and Configuration of Excel 1 July 15th 09 01:48 PM
export re-order input fields to export file [csv] madisonpete Excel Worksheet Functions 0 November 30th 07 03:51 PM
my curser changed from arrow shape to a cross shape???? bj New Users to Excel 1 February 5th 07 02:47 PM
Chart in a Shape QPapillon Excel Discussion (Misc queries) 1 June 26th 06 04:17 PM
Shape connectors Davwe Excel Programming 3 October 4th 03 10:51 AM


All times are GMT +1. The time now is 12:00 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"