您好!
在打开excel的同时,创建一个名称为“abc”的sheet,在abc的A1中写入“明日科技”
dim xApp as new excel.application
dim xbook as new excel.workbook
dim xSheet as new excel.worksheet
set xapp=new excel.application
set xbook = xapp.workbooks.add
xapp.visible = true
set xsheet=xbook.worksheet(1)
xsheet.name="abc"
xsheet.cells(1,1)="明日科技"