jaaret
Instructor
- Jun 19, 2002
- 171
I am attempting to change the color of a column in a MS Graph through VBA. I cut and pasted this code (simplifed) into the Report_Open subroutine but it errors on the first line:
ActiveChart.SeriesCollection(1).Select
With Selection.Interior
.ColorIndex = 255
.Pattern = xlSolid
End With
I've tried changing the first line to:
Me.Graph14.SeriesCollection(1).Select
This also errors. How can I modify this code to make it work in Access?
Jaaret
ActiveChart.SeriesCollection(1).Select
With Selection.Interior
.ColorIndex = 255
.Pattern = xlSolid
End With
I've tried changing the first line to:
Me.Graph14.SeriesCollection(1).Select
This also errors. How can I modify this code to make it work in Access?
Jaaret