网络编程 
首页 > 网络编程 > 浏览文章

Add Formatted Data to a Spreadsheet

(编辑:jimmy 日期: 2025/7/2 浏览:3 次 )
Script Code

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

objExcel.Visible = True 
objExcel.Workbooks.Add 
objExcel.Cells(1, 1).Value = "Test value" 
objExcel.Cells(1, 1).Font.Bold = TRUE 
objExcel.Cells(1, 1).Font.Size = 24 
objExcel.Cells(1, 1).Font.ColorIndex = 3 
上一篇:Apply an AutoFormat to an Excel Spreadsheet
下一篇:excel操作之Add Data to a Spreadsheet Cell
友情链接:杰晶网络 DDR爱好者之家 南强小屋 黑松山资源网 白云城资源网 网站地图 SiteMap