From: CC Chen Date: 2011-08-16T20:30:22+09:00 Subject: Re: Excel chart question Timothy Barnes wrote in post #1015760: > I apologize. I was trying to do things too fast. Below I corrected 2 > different ways, both of which worked on my computer. I am using office > 2007. > That could have some effect. Let me know if the below code doesn't work. > > Using select: (previously I have mixed up two lines of code 2, 3) > I lost the line "excelchart1.setsourcedata(range_1)" And the chart can create by different range. Thanks a lot. -- Posted via http://www.ruby-forum.com/.