Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
avi avi is offline
external usenet poster
 
Posts: 195
Default Publish charts as PNG

Hello,

The Publish process from Excel to Web transforms charts to Gif files,
resulting in poor resolution quality.

Is it possible to improve the quality by transforming to other
pictures types or by any other means?

Thanks
Avi
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Publish charts as PNG

You can save a chart as *.png before posting that *.png only to Web

But I don't know how to do this throughButtonPublish

Sub SaveAspng()
' Saves the active chart as a png file
' Prompts for a file name and directory
Dim FileName As Variant
If ActiveChart Is Nothing Then
MsgBox "Select a chart to export."
Else
FileName = Application.GetSaveAsFilename( _
InitialFileName:=ActiveChart.Name & ".png", _
FileFilter:="png Files (*.png), *.png", _
Title:="Save chart as png file")
If FileName < False Then ActiveChart.Export FileName, "png"
End If
End Sub


Gord Dibben MS Excel MVP

On Sun, 22 Nov 2009 23:48:33 -0800 (PST), avi
wrote:

Hello,

The Publish process from Excel to Web transforms charts to Gif files,
resulting in poor resolution quality.

Is it possible to improve the quality by transforming to other
pictures types or by any other means?

Thanks
Avi


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 461
Default Publish charts as PNG

At the end of this tutorial I have a link to a free add-in you can use
to export charts in whatever format you like, though PNG is best.

Enhanced Export Chart Procedure | PTS Blog
http://peltiertech.com/WordPress/enh...art-procedure/

- Jon
-------
Jon Peltier
Peltier Technical Services, Inc.
http://peltiertech.com/



avi wrote:
Hello,

The Publish process from Excel to Web transforms charts to Gif files,
resulting in poor resolution quality.

Is it possible to improve the quality by transforming to other
pictures types or by any other means?

Thanks
Avi

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
Publish Spreadsheet to Web MJS Excel Programming 0 June 2nd 08 06:10 PM
publish iwinlof Excel Discussion (Misc queries) 0 March 23rd 06 10:59 PM
publish to web G. Beard New Users to Excel 0 October 3rd 05 06:02 PM
How to publish VBA and UserForms on the web? MichelleDuquette Excel Programming 0 March 14th 05 03:17 AM
Publish Macro Brian Matlack[_2_] Excel Programming 0 December 8th 03 09:23 PM


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