+ Reply to Thread
Results 1 to 3 of 3

VBA to to set Axis values based on cell values

  1. #1
    Registered User
    Join Date
    01-01-2013
    Location
    Manchester, England
    MS-Off Ver
    Excel 2010 (work) & 2013 (home)
    Posts
    45

    VBA to to set Axis values based on cell values

    Hi All,

    I'm trying to set the Maximum Scale and Major Unit of a graph based on cell value.

    I've found the following page with some code:

    http://peltiertech.com/Excel/Charts/...nkToSheet.html

    However I can't get my code to work - here is what I have:

    Please Login or Register  to view this content.
    Hope somebody can help!

    P.S. - Yes, my chart is called "Chart 4"
    Last edited by elliotencore; 07-10-2013 at 05:50 AM.
    Elliot
    The geek shall inherit the earth

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: VBA to to set Axis values based on cell values

    Is this solved?

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    01-01-2013
    Location
    Manchester, England
    MS-Off Ver
    Excel 2010 (work) & 2013 (home)
    Posts
    45

    Re: VBA to to set Axis values based on cell values

    I added the code to a combobox change event:

    Please Login or Register  to view this content.

+ 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