+ Reply to Thread
Results 1 to 4 of 4

macro converting graphs into jpeg files

  1. #1
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,618

    macro converting graphs into jpeg files

    I want to convert graphs which are on excel into a folder named say graphs on drive c

    I am completely blank to macros , but I can run macros when given spoon feeding

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: macro converting graphs into jpeg files

    This code will export your current sheet chart to a "jpg" file (Temp)with the same path as your parent file.
    Nb:- Change Path Name, Sheet name & Chart Name, to suit
    Please Login or Register  to view this content.
    Regards Mick

  3. #3
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,618

    Re: macro converting graphs into jpeg files

    Yes it does exactly what i need , but it throws only one graph , I have quite a few too on one sheet

  4. #4
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: macro converting graphs into jpeg files

    You will probably need to loop through the chart collection Like:-
    To create individual files for each chart.
    Please Login or Register  to view this content.
    Or even:-
    Please Login or Register  to view this content.
    Regards Mick
    Last edited by MickG; 03-03-2014 at 11:00 AM.

+ 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. MACRO to convert graphs into JPEG
    By makinmomb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-28-2014, 07:10 AM
  2. Replies: 0
    Last Post: 12-05-2013, 06:55 AM
  3. Print PDF, JPEG and TIF files
    By Bob@Sun in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-29-2012, 02:44 PM
  4. Converting Tables to Jpeg
    By opsman in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-03-2009, 06:31 AM
  5. [SOLVED] Converting Excel worksheet to JPEG, PDF or TIFF pressing a cell/bu
    By DORI in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-30-2005, 04:10 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