是德科技
直播中

王云

8年用户 206经验值
私信 关注
[问答]

如何将不同的Excel图表输出到三个不同的工作表?

您好我正在尝试将三个不同的Excel图表输出到Excel文档中的三个不同的工作表。
目前,该函数创建了一个图形,并将其放入我使用函数“xlLib.SelectSheet”分配的正确工作表上的Excel文件中。
但是,当该函数再次运行并且程序将不同的工作表名称传递给“xlLib.SelectSheet”函数时,它只会覆盖第一个工作表上的图形。
任何想法?谢谢!蒂姆

以上来自于谷歌翻译


     以下为原文

  Hi I'm currently trying to output three different Excel graphs to three different sheets in an Excel document.  Currently the function creates a graph and places it into the Excel file on the correct sheet I've assigned it using the function "xlLib.SelectSheet".  However when the function runs again and the program passes a different sheet name to the "xlLib.SelectSheet" function it just overwrites the graph on the first sheet.  Any ideas?

Thanks!
Tim  

更多回帖

发帖
×
20
完善资料,
赚取积分