+ Reply to Thread
Results 1 to 4 of 4

Need help for Automated Graph build macros

  1. #1
    Registered User
    Join Date
    06-13-2014
    Posts
    3

    Need help for Automated Graph build macros

    Hi all im new here.
    My problem is that i have to create 100+ graphics (this my boss want),so after i create the first table i just copy past and change the data range and the name of the table.
    I want to automate this process with macros so i record a macros .
    Explaining: "Eono1 is the name om my workbook.
    SO what i want ,the macros automaticali create new graph ,and chage the data range ,(my data range is for january to december i row so i want to grab the next row from C3:N3 to becom C4:N4)

    Lets say i have 48 countrys (names R3C2),macros should automaticay stop after c48:N48 for 2014,q48:ab48-2013 and AE48:AP48.(The last graphic is created).
    Thanks a lot
    Regards.
    Here is the macros and the exaple table with chart

    http://speedy.sh/bga4E/exaple.xlsx

    Please Login or Register  to view this content.
    So really what i want to do after i record this macros up ,to edit it this way :
    Next time whe i start the macro (by click or keyboard shortcut) ot add "+1" to this $C$3:$N$3 ,$Q$3:$AB$3 ,$AE$3:$AP$3 , R3C2(only R3 should be changed)
    so they become $C$4:$N$4,$Q$4:$AB$4,$AE$4:$AP$4, R4C2 then save the chages with the new values.
    So the next time i runt it it will chane "+1" again and all of the 4 become 5 and so and so on. In this way mu table will be ready with only one click.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Need help for Automated Graph build macros

    If you use a loop with the variable X, you can use a syntax like

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    06-13-2014
    Posts
    3

    Re: Need help for Automated Graph build macros

    Thanks a lot
    I just start to use excel few days ago ,and my codin abilities are at very low leve but i manage to do it.
    For future readers ,First recodr macros with wanted table ,the add

    Please Login or Register  to view this content.


    Again thanks a lot you safe me hours of making tables with this suggestion .

  4. #4
    Registered User
    Join Date
    06-13-2014
    Posts
    3

    Re: Need help for Automated Graph build macros

    Hi again here is a short 7 minute video what i have acomplish with your help
    https://www.youtube.com/watch?v=6jJ0G9lF_4U
    and the full one
    https://www.youtube.com/watch?v=bxA8dNzrPE8

+ 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. How to build BRIDGE graph...
    By dkolkin in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 06-02-2015, 03:03 AM
  2. build graph from named ranges
    By Chris79 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-01-2012, 10:36 AM
  3. Need to build Four quadrant graph
    By DeepakS in forum Excel General
    Replies: 10
    Last Post: 03-22-2012, 09:04 AM
  4. Automated graph production
    By paulizaz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-22-2007, 02:28 PM
  5. Automated graph production
    By paulizaz in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-22-2007, 12:12 PM

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