+ Reply to Thread
Results 1 to 8 of 8

Export all charts in each sheet to a folder

  1. #1
    Registered User
    Join Date
    08-13-2009
    Location
    Glasgow
    MS-Off Ver
    Excel 2016,2016,365
    Posts
    92

    Export all charts in each sheet to a folder

    Hello,

    I found the following code that exports charts to a folder but it only it exports one chart even if there is two charts on the same sheet. Can you help please?

    Please Login or Register  to view this content.
    Thanks
    Ross

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Export all charts in each sheet to a folder

    Hello
    Can you attach sample of your workbook?
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  3. #3
    Registered User
    Join Date
    08-13-2009
    Location
    Glasgow
    MS-Off Ver
    Excel 2016,2016,365
    Posts
    92

    Re: Export all charts in each sheet to a folder

    Here you are thanks
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    05-12-2018
    Location
    Netherlands
    MS-Off Ver
    2016
    Posts
    266

    Re: Export all charts in each sheet to a folder

    it overwrites other charts on the same sheet, because the name is Ws.Name

    add for example the chart name to the filename:

    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Export all charts in each sheet to a folder

    That's because you renamed the chart with the sheet name so the second chart is overwriting the first ..
    In this case I put a variable so as to add integer in case of more than one
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    08-13-2009
    Location
    Glasgow
    MS-Off Ver
    Excel 2016,2016,365
    Posts
    92

    Re: Export all charts in each sheet to a folder

    only saves CEO & CEO 2 chart and not the rest though now. Thanks

  7. #7
    Registered User
    Join Date
    08-13-2009
    Location
    Glasgow
    MS-Off Ver
    Excel 2016,2016,365
    Posts
    92

    Re: Export all charts in each sheet to a folder

    Thanks YasserKhali and SjonR for helping, working now

  8. #8
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Export all charts in each sheet to a folder

    You're welcome ..
    As for SjonR is better in that case ..
    Regards

+ 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. Replies: 32
    Last Post: 07-17-2018, 03:08 AM
  2. Export all charts (embedded and single chart sheet) to a single PDF File
    By trizzo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-23-2016, 09:56 AM
  3. Replies: 1
    Last Post: 06-17-2014, 12:15 PM
  4. Excel data (sheet data + charts) export to ppt presentation
    By pntuehut99 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-28-2012, 05:55 AM
  5. Create folder & export sheet, not working
    By rinser in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-29-2009, 09:00 AM
  6. Export excel2000 charts into EMF/WMF
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-10-2006, 08:30 AM
  7. export charts
    By tommy_gtr in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-14-2005, 09:07 AM

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