2010-05-10 39 views

回答

0
dim excls 
set excls=Createobject("Excel.Application") 
set Book=excls.workbooks.add 
set sheet1=Book.activesheet 
sheet1.cells(1,1)="******** ********" 
sheet1.saveas "Path of file" 
excls.quit 

第二种模式

Datatable.addsheet "Sheet name" 
datatable.importsheet"File name,source sheer","destination sheet" 
'now all the data are stored in sheet name at run time 
'any query pls mail to me : [email protected] 
相关问题