Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8995981
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T23:41:32+00:00 2026-06-15T23:41:32+00:00

So I have a sheet called Dashboard that I have several charts on, but

  • 0

So I have a sheet called “Dashboard” that I have several charts on, but every week I’m adding data to the tables these charts are based on. The second sheet that has the data for this table is “Historical Totals” and the data I want is in columns A through E (this includes labels and headers). I’m trying to automate the charts updating, and I don’t quite know why this isn’t working. Here is the code I have so far:

Sheets("Dashboard").Select
ActiveSheet.ChartObjects("Chart 4").Activate
ActiveChart.SetSourceData Source:=Sheets("Historical Totals").Range("A1", Range("E1").End(xlDown))

I’ve tried seperating our the range, and it is selecting the appropriate data, so I don’t really know where I’m making the mistake.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T23:41:33+00:00Added an answer on June 15, 2026 at 11:41 pm

    try the following. You need to reference the data sheet every time you use Range:

    Sheets("Dashboard").ChartObjects("Chart 4").Activate
    ActiveChart.SetSourceData _
            Source:=Sheets("Historical Totals").Range(Sheets("Historical Totals").Range("A1"), _
                    Sheets("Historical Totals").Range("E1").End(xlDown))
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an excel sheet that has several headers. One of the header is
I have an Action Sheet that is called from my root view controller using
I have a sheet called "main" that takes values from another file's sheet called
Excel 2007: I get my data from Access tables the Excel sheet is called
I have an excel sheet that I am wanting to extract data from and
I have an excel VBA print function that is called once for each sheet
I have a sheet A that looks something like this: Name Phone Number Title
I have a sheet full of some raw data, about 20,000 rows and 50
In my active sheet called Report I have 2 column I & F. It
I have an Excel Spreadsheet (technically it is a Google Docs sheet, but the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.