View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
ragtopcaddy via OfficeKB.com ragtopcaddy via OfficeKB.com is offline
external usenet poster
 
Posts: 22
Default Trouble with charts in Excel 2007 - Access 2007/VBA

I have the following line of code in an Access module:

Set xlChartObject = XLobj.ActiveSheet.ChartObjects(i + y)

I get error 1004, "Application defined, or object defined error".

This code worked fine in 2003, but refuses to budge in 2007.

--
Bill Reed

"If you can't laugh at yourself, laugh at somebody else"

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200810/1