MacGyver7640
Board Regular
- Joined
- Oct 28, 2011
- Messages
- 76
A bit sad I haven't been able to figure this out, but here goes.
I really appreciate your help because I'm stumped, can't think of any other variants to google!
1) This code does not appear to work as intended, it sets the width to 1.0 points. If I set it equal to 3, it sets it to 2 points (which also achieved with xlMedium. Given how much I've looked, I fear that this isn't possible. But that seems crazy! Why would it recognize numbers at all?
2) I'm having trouble formatting my horizontal gridlines. For some reason this code changes the format to Long Dash Dot How might I change it to the regular dash?
Thanks!
I really appreciate your help because I'm stumped, can't think of any other variants to google!
1) This code does not appear to work as intended, it sets the width to 1.0 points. If I set it equal to 3, it sets it to 2 points (which also achieved with xlMedium. Given how much I've looked, I fear that this isn't possible. But that seems crazy! Why would it recognize numbers at all?
Code:
Activechart.PlotArea.Border.Weight = 1.5
2) I'm having trouble formatting my horizontal gridlines. For some reason this code changes the format to Long Dash Dot How might I change it to the regular dash?
Code:
ActiveChart.Axes(xlValue, xlPrimary).MajorGridlines.Border.LineStyle = xlDash
Thanks!