Results 1 to 4 of 4

How to change Chart Line size?

Threaded View

  1. #1
    Registered User
    Join Date
    12-05-2011
    Location
    Cincinnati, OH
    MS-Off Ver
    Excel 2007
    Posts
    40

    How to change Chart Line size?

    Hello folks,

    I can't seem to find a documented way to alter the line size (width/weight) using Excel VB.

    Fort example here I am drawing a horizontal "High Alarm" line on my graph, and I would like to set the line size (width/weight).

    ActiveChart.SeriesCollection.NewSeries
    ActiveChart.SeriesCollection(HighAlarmSeriesNum).Border.Color = RGB(255, 0, 0)
    ActiveChart.SeriesCollection(HighAlarmSeriesNum).Name = "='Cond Graphs'!$C$4"
    I tried
    ActiveChart.SeriesCollection(HighAlarmSeriesNum).Size = 1.5
    But just got my favorite 1004 error...

    - Thomas
    Last edited by ThomasHaller; 04-03-2012 at 08:24 AM. Reason: Solved

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