Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting Charts Using Sizing

Status
Not open for further replies.

Aeneas

Programmer
Sep 18, 2003
25
CA
The following code seems fairly useful:

Sheets("Chart1").Export Filename:="D:\TEMP\Test.GIF", FilterName:="GIF", Interactive:=True

Except, for a couple of nuances. I have tried other file "filters" like BMP, but they don't seem to work. I get an application runtime error. Also, the Interactive:=True does not seem to bring up any dialog box as describe in the help file.

And the part that I am grappling with the most is that I always get the same size chart (regarless of zoom setting, which sometimes messes up the rendering if set smaller or larger and there exist overlaid textboxes and/or other autoshapes like arrows): 909x670.

Is there any option available to set the GIF settings (specifically size) on export?


Thanks in advance,

Aeneas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top