• Changing source in Excel 2003 (excel 2003)

    Home » Forums » AskWoody support » Productivity software by function » Visual Basic for Applications » Changing source in Excel 2003 (excel 2003)

    Author
    Topic
    #452956

    I have 32 worksheets with 5 charts on each one. All the same kinds of charts. I have 32 source sheets called S1 to S32. The charts are D1 to D32. How can i write a macro to iterate through D2 to D32 and change the sources to the matching data sheet – D1, D2 etc. D1 is the source to the charts on S1. D2 is the source for the charts on S2 and so on. Thank you for the help.

    Viewing 1 reply thread
    Author
    Replies
    • #1119917

      I’m confused by your description:
      First you state that S1 etc. are the source sheets and D1 etc. the chart sheets.
      Then you ask to make D1 the source for the charts on S1 – exactly the reverse.

      • #1120007

        oh, sorry. D1 is the source to S1. I’m trying to change the references for all the S1 charts (worksheets S1 to S32) from D1 to D2, D2, D4 etc.

        • #1120021

          I still don’t understand your description, sorry.

    • #1120012

      Can you record code of you changing one of the sources?

    Viewing 1 reply thread
    Reply To: Changing source in Excel 2003 (excel 2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: