We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

VBA for Excel 2k?

Hope this is the right place to put this (its also one of the few web sites i can access in work!)

I am writting a macro for excel 2K to produce a line graph from a variable amount of data on a differentt page. I have been on google so many times and still can't find any help, I am having problems adding the series to the chart once the cahrt is created.

any help would be fantastic
cheers

Comments

  • Tony_H_3
    Tony_H_3 Posts: 2,644
    Part of the Furniture 1,000 Posts Combo Breaker
    Forumite
    What you need to do is use the -->Tools -->Data -->form menu in order to manipulate your data for the "series" of the chart. Simply create a new macro then highlight the series which you wish to change and select Tools, Data & Form from the menu. This will open a new dialog box that will aloow you to edit the data.

    Incorporate this macro into your existing code to enable changing of chart content values?
  • 'Natzdance'

    A very useful site for EXCEL queries is www.mrexcel.com

    There are other forums, but this is the best I've found.
    It has taken about 4,500,000,000 (4.5 billion) years for the Earth to form as it is now .........
    and it'll only take about another 100 years for mankind to really **** it up!!!!
  • Natzdance
    Natzdance Posts: 46 Forumite
    thanks both of you for your help, still struggling!

    mrexcel had help for pe charts but no line charts:(

    and i can't seam to record a macro for the data as the data length will change every time
  • zia_2
    zia_2 Posts: 47 Forumite
    Have you tried John Walkenbach, the Excel Guru?

    http://www.j-walk.com/ss/excel/tips/index.htm
  • Natzdance
    Natzdance Posts: 46 Forumite
    Yeah I have thanks Zia,

    Think I may be hitting a blank one, just doenst wanna work :(
  • Natzdance,


    Any chance you could send me a sample file with an explanation of what you're trying to do?

    PM me to get in contact.
    It has taken about 4,500,000,000 (4.5 billion) years for the Earth to form as it is now .........
    and it'll only take about another 100 years for mankind to really **** it up!!!!
This discussion has been closed.
★ ★ ★ Meet your Ambassadors

Categories

  • All Categories
  • 356K Banking & Borrowing
  • 255K Reduce Debt & Boost Income
  • 456.3K Spending & Discounts
  • 248.5K Work, Benefits & Business
  • 606.3K Mortgages, Homes & Bills
  • 179.1K Life & Family
  • 264.1K Travel & Transport
  • 1.6M Hobbies & Leisure
  • 16.2K Discuss & Feedback
  • 37.7K Read-Only Boards
Quick Search

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.