Add Formatted Data to a Spreadsheet_javascript技巧
程序员文章站
2022-04-18 16:30:16
...
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
复制代码 代码如下:
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
推荐阅读
-
excel操作之Add Data to a Spreadsheet Cell_javascript技巧
-
Add Formatted Text to a Word Document_javascript技巧
-
Add Formatted Data to a Spreadsheet_javascript技巧
-
Add Formatted Data to a Spreadsheet_javascript技巧
-
Add a Formatted Table to a Word Document_javascript技巧
-
Add Formatted Text to a Word Document_javascript技巧
-
Add a Formatted Table to a Word Document_javascript技巧