+ 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 2007
    Posts
    73

    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,407

    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 2007
    Posts
    73

    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
    258

    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,407

    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 2007
    Posts
    73

    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 2007
    Posts
    73

    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,407

    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)

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