excel操作之Add Data to a Spreadsheet Cell

  Script Code

  

复制代码 代码如下:

  Set objExcel = CreateObject("Excel.Application")

  objExcel.Visible = True

  objExcel.Workbooks.Add

  objExcel.Cells(1, 1).Value = "Test value"