Hi all please help.
Basic question, but it seems there is no solution to it. How do you add only a bottom border line to an excel chart? Not all 4 borders, but one.
Many thanks in advance!
Hi all please help.
Basic question, but it seems there is no solution to it. How do you add only a bottom border line to an excel chart? Not all 4 borders, but one.
Many thanks in advance!
Last edited by Alexander_Golinsky; 06-10-2015 at 07:24 AM.
Well, do not believe it has any solution. Here is my workaround:
The procedure simulates the bottom border by inserting line exactly like it is the bottom border. The key issue is if you copy then the chart, the border goes with it.![]()
Sub Bottom_edge() Dim sh As Worksheet Dim ch As ChartObject For Each sh In ActiveWorkbook.Sheets For Each ch In sh.ChartObjects ch.Select ActiveChart.Shapes.AddConnector(msoConnectorStraight, 0, ch.Height, ch.Width, ch.Height).Select Selection.ShapeRange.Line.ForeColor.RGB = RGB(0, 0, 0) Next Next End Sub
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks