Hi all,
I am really struggling trying to auto format charts!!!
originally my problem was when charts had to many categories of data, so i came up with a way of splitting the data into seperate pages and linking the charts parent / child fields so i would get a different report per page.
ok, my problem is setting the maximum scale of the chart, as each chart will have a different value range then the auto maximum will keep changing across pages so am trying to get vba to do it.
i've got as far as this
Me.Graph10.Object.Application.Chart.Axes(2).MaximumScale = CDbl(17000)
which although looks right, and with everything i've found on the web should work... although theres also been mention of 97 a lot....
I'm using access 2000, does this, or should this still work??
The error i get is:
run-time error '2771'
The bound or unbound object frame you tried to edit doesn't contain an ole object
Any help or pointers would be greatly appreciated, think i've spent the last few hours trawling the net and trial and error just to do something that seems like it should be easy!!
Cheers
daveJam
even my shrink says its all your f#@/ing fault
I am really struggling trying to auto format charts!!!
originally my problem was when charts had to many categories of data, so i came up with a way of splitting the data into seperate pages and linking the charts parent / child fields so i would get a different report per page.
ok, my problem is setting the maximum scale of the chart, as each chart will have a different value range then the auto maximum will keep changing across pages so am trying to get vba to do it.
i've got as far as this
Me.Graph10.Object.Application.Chart.Axes(2).MaximumScale = CDbl(17000)
which although looks right, and with everything i've found on the web should work... although theres also been mention of 97 a lot....
I'm using access 2000, does this, or should this still work??
The error i get is:
run-time error '2771'
The bound or unbound object frame you tried to edit doesn't contain an ole object
Any help or pointers would be greatly appreciated, think i've spent the last few hours trawling the net and trial and error just to do something that seems like it should be easy!!
Cheers
daveJam
even my shrink says its all your f#@/ing fault