日期:2014-05-20  浏览次数:20752 次

c# 操作excel的问题
在vba中我可一操作所有打开的excel

现在我想在c#中操作已经打开的excel

如过我是用c#开的excel,我能操作,
但是不是用c#打开的我操作不了

比如
vba:
    Windows( "ddd.xls ").Activate
    Sheets( "Sheet3 ").Select
    Sheets( "Sheet3 ").Copy   After:=Workbooks( "copy.xls ").Sheets(3)

想在c#里控制excel,怎么写

请指教


------解决方案--------------------
up
------解决方案--------------------
http://www.cnblogs.com/linfuguo/archive/2006/08/19/480976.html