Closed Thread
Results 1 to 2 of 2

Line size dependent on cell value

  1. #1
    Registered User
    Join Date
    02-05-2021
    Location
    UK
    MS-Off Ver
    360
    Posts
    3

    Line size dependent on cell value

    Hi Chaps

    New to the forum and VBA but have been using Excel for more years than I care to remember.

    I'm looking for a little guidance with something that I'm sure is very simple but, I'm struggling with. Could someone provide me with a snippet of code that will change the length of a line depending on the value of a cell in a workbook. What I'm trying to do is change the length of three lines actually, which make up the X Y and diagonal axis of a chart representing the real power apparent power and reactive power of an electrical system. Or there may be a better way of doing what I'm after with the chart tools.

    Thanks folks.
    Chart screengrab.jpg

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Line size dependent on cell value

    Duplicate threads are not allowed. As you have changed tack, I am closing this older thread. Continue here, please: https://www.excelforum.com/excel-cha...ta-please.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Refer .font.name, .font.size, line.dashstyle to a cell instead of hard coding.
    By avarshav in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-17-2016, 11:50 AM
  2. Replies: 3
    Last Post: 05-10-2016, 08:29 PM
  3. Replies: 2
    Last Post: 03-11-2016, 12:41 PM
  4. [SOLVED] Increase line size in labelbox
    By Pradeepg in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-16-2014, 09:31 AM
  5. [SOLVED] Dependent Data Validation From Pivot Tables for multiple-line-use
    By Bertrand_V in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-07-2014, 01:48 PM
  6. [SOLVED] How to change Chart Line size?
    By ThomasHaller in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-03-2012, 12:04 PM
  7. Replies: 1
    Last Post: 06-18-2006, 11:25 AM

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