R
rmcompute
I am trying to change a chart dynamically. I have coded the following in
the open event of the report:
Dim XGraph As Object
Set XGraph = Me![OLEUnbound0].Object
XGraph.ChartType = xl3DPie
I receive the message: Run-time error 2771. The bound or unbound object
frame you tried to edit doesn't contain an OLE object. Is it possible to
change the type in this way. If it is not, I do have code to change the
report size for another report programmatically through design mode, is there
code available to change the chart type in this way?
the open event of the report:
Dim XGraph As Object
Set XGraph = Me![OLEUnbound0].Object
XGraph.ChartType = xl3DPie
I receive the message: Run-time error 2771. The bound or unbound object
frame you tried to edit doesn't contain an OLE object. Is it possible to
change the type in this way. If it is not, I do have code to change the
report size for another report programmatically through design mode, is there
code available to change the chart type in this way?