Hi,
I have an excel 07 chart dynamically linked to an form-OLE field. This used to work smoothly in earlier access vesions.
Now, the chart shows somehow distorted, as if it has been stretched.
I do use SizeMode = acOLESizeClip
If you compare the original excel chart with thelinked one, the linked (in Access) chart has thick lines and generally look clumbsy, as if an additional bad rendering had been done. The size of the chart itself is identical, the labels seem identical, jsut the lines are gross,see attached png. The lower section is the original, the upper the linked.
scn!chart.Class = "Excel.Sheet" ' Set class name.
scn!chart.OLETypeAllowed = acOLELinked ' Specify type of object.
scn!chart.SourceDoc = source_dir & "temp.xlsx" ' Specify source file.
scn!chart.SourceItem = "" ' Specify data to create link to.
scn!chart.locked = False
scn!chart.Enabled = True
scn!chart.SizeMode = acOLESizeClip
scn!chart.action = acOLECreateLink ' Create linked object.
scn!requery.SetFocus
Has anyone an idea how this can be corrected?
TIA
I have an excel 07 chart dynamically linked to an form-OLE field. This used to work smoothly in earlier access vesions.
Now, the chart shows somehow distorted, as if it has been stretched.
I do use SizeMode = acOLESizeClip
If you compare the original excel chart with thelinked one, the linked (in Access) chart has thick lines and generally look clumbsy, as if an additional bad rendering had been done. The size of the chart itself is identical, the labels seem identical, jsut the lines are gross,see attached png. The lower section is the original, the upper the linked.
scn!chart.Class = "Excel.Sheet" ' Set class name.
scn!chart.OLETypeAllowed = acOLELinked ' Specify type of object.
scn!chart.SourceDoc = source_dir & "temp.xlsx" ' Specify source file.
scn!chart.SourceItem = "" ' Specify data to create link to.
scn!chart.locked = False
scn!chart.Enabled = True
scn!chart.SizeMode = acOLESizeClip
scn!chart.action = acOLECreateLink ' Create linked object.
scn!requery.SetFocus
Has anyone an idea how this can be corrected?
TIA