欢迎来到福编程网,本站提供各种互联网专业知识!

Add Formatted Data to a Spreadsheet

发布时间:2007-06-12 作者: 来源:转载
ScriptCode复制代码代码如下:SetobjExcel=CreateObject("Excel.Application")objExcel.Visible=TrueobjExcel.Workbooks.AddobjExcel.Cells(1,1).Value="Testvalue"objExcel.Cells(1,1).Font.Bold=TRUEobjExcel.Cells(1,1).Font.Size=24objExcel.Cells(1,1
ScriptCode

复制代码 代码如下:
SetobjExcel=CreateObject("Excel.Application")

objExcel.Visible=True
objExcel.Workbooks.Add
objExcel.Cells(1,1).Value="Testvalue"
objExcel.Cells(1,1).Font.Bold=TRUE
objExcel.Cells(1,1).Font.Size=24
objExcel.Cells(1,1).Font.ColorIndex=3

相关推荐