+ Reply to Thread
Results 1 to 3 of 3

Excel export chart to wmf or emf?

  1. #1
    Registered User
    Join Date
    08-07-2018
    Location
    United States
    MS-Off Ver
    2010
    Posts
    2

    Excel export chart to wmf or emf?

    I am trying to export a chart from Excel to either the wmf or emf format.

    The code works if you export to GIF but not with WMF as the filtername.

    This works:

    Chart.Export FileName:="current_sales.gif", FilterName:="GIF"
    But

    Chart.Export FileName:="current_sales.wmf", FilterName:="WMF"
    fails giving the error:

    Run-time error '1004': Application-defined or object-defined error

    Powerpoint allows you to export to WMF. And I have "successfully" exported by copying the graph into Powerpoint and having Powerpoint export the image to WMF but there has to be an easier way - I hope.



    Please help! Thanks.

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Excel export chart to wmf or emf?

    There appears to be an answer here > https://stackoverflow.com/questions/...-to-wmf-or-emf which seems to match your question.
    If someone has helped you then please add to their Reputation

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,632

    Re: Excel export chart to wmf or emf?

    Your post does not comply with our Forum Rules. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Click on Edit to open your thread, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here
    Best Regards,

    Kaper

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Export Access chart to excel
    By online in forum Access Tables & Databases
    Replies: 0
    Last Post: 01-20-2012, 08:39 AM
  2. Export cells and chart from Excel to Ppt
    By kryt0n in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-05-2011, 11:02 AM
  3. export chart from access to excel
    By cyberterrorist in forum Access Programming / VBA / Macros
    Replies: 0
    Last Post: 10-09-2009, 04:07 AM
  4. [SOLVED] Is there any way to export your Chart from Excel to Word
    By Skyler in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-28-2006, 09:40 AM
  5. [SOLVED] How can I export a chart from Excel to Access??
    By Kyriaki in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-02-2006, 04:50 AM
  6. [SOLVED] Can I export a chart from Excel as a jpg or gif?
    By bongoman in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 09-15-2005, 11:05 AM
  7. How can I export an excel 2003 chart to a .jpg?
    By Jason Krause in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 08-18-2005, 06:05 PM
  8. [SOLVED] Export Excel Chart to .gif or .png file
    By Steve McGourty in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-11-2005, 03:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1