
Originally Posted by
ipisors
I agree, automating charts in Access is hideous. Excel is the right tool for the job.
But can you get away with automating excel charts in the background (invisibly), then simply returning final chart images to an Access screen image control?
I do that all the time. My access code starts up excel..(pre designed template, or from scratch w/code)...does the data dumping/manipulation...creates charts..adjusts trend lines, etc., all using the excel OM of course.
then use the excel OM's Chart.Export which creates a beautiful picture in a split second...then make your Access form's image control's .Picture to be that path.
As long as the machine that will run this code has Excel, of course.