+ Reply to Thread
Results 1 to 2 of 2

Using VBA to increase Graph Series Values by 1

  1. #1
    Registered User
    Join Date
    08-09-2010
    Location
    Midlands
    MS-Off Ver
    Excel 2010
    Posts
    38

    Using VBA to increase Graph Series Values by 1

    Hi All,

    I'm doing the age old problem of updating graphs. I have tried several routes to solving the issue of having to have dynamic named ranges etc to automatically update a graph when new information is available.

    I was wondering if anyone had done this using VBA and whether they could point me in the right direction. So far I have the following (and feel free to just tell me to re-write a better way if easier than amending my code)
    Please Login or Register  to view this content.
    It is currently breaking on CurrentSeriesMaxRow as a type mismatch, presumably because it is reading it as text rather than an integer (as I'm trying to get the last number from a text string and add 1 to it).

    The code is already commented out to have the option to do this for each Series in the graph and eventually each graph on a specified (or all worksheets). Also I'm aware I haven't accounted for 9 becoming 10 and thus messing it up but these are side issues which I can deal with once I have the working code.

    Any help would be greatly appreciated.

    Thanks
    Maudise

  2. #2
    Registered User
    Join Date
    08-09-2010
    Location
    Midlands
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Using VBA to increase Graph Series Values by 1

    shameless bump, will not do again

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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