Oldsoftboss
AWF VIP
- Local time
- Today, 14:09
- Joined
- Oct 28, 2001
- Messages
- 2,499
Rachael, see you are from Victoria, from Melbourne or the country ?
Dave
Dave
Oldsoftboss said:Dim objChart1 As Graph.chart
Dim objAxis1 As Object
Set objChart1 = Me.YourChartName.Object
Set objAxis1 = objChart1.axes(xlCategory)
Rachael said:Dunno mate.
Rachael said:The report has the graph (and everything else) in the header section.
Access and Excel use the same facility - MS Graph. Your problem is that the Access "Chart Wizard" is dumber than a box of rocks. The Excel "Chart Wizard" KNOWS that it is dumber than a box of rocks - and doesn't make so many incorrect assumptions. I guess 'cause the Access wizard has delusions of grandeur?
If you know how or learn how to use VBA and then link the Graph library to your module references, you can then control the properties of your charts directly from VBA, never mind the gross stupidity of the chart wizard. You MIGHT have to link the MS Graph references and then use Object Browser on a Chart Object to determine its properties. But it is possible to make it work OK.
And BTW, MS Graph is not a bad charting tool. I've pushed the heck out of it more than once. In a U.S. Government office (where I work), MS Graph meets all data charting requirements. All of them. Third-party tools are used ONLY for things that are diagrammatic, like Org charts or process flow charts or the like.
Graph1.Legend.LegendEntries(1) _
.LegendKey.MarkerBackgroundColorIndex = 5