I have main report with 2 sub reports that are charts. I am setting the y-axis so both charts have the same scale. When the report is previewed each page has the correct y-axis scale. When the report is printed the scales are not updating. I am using the following code to set the y-axis. I have also tried putting the code in the On Print event with no luck.
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
With Me.chart_eff_2.axes(2)
.minimumscale = 0
.maximumscale = Report_zrpt_max_eff_2![max_eff_]
End With
End Sub
Is there something I am missing to update charts when the printing the report.
Thanks,