jscript之List Excel Color Values

时间:2007-06-13    点击:151   
Description

Demonstration script that displays the various colors -- and their related color index -- available when programmatically controlling Microsoft Excel. 
Script Code
复制代码 代码如下:

set objExcel = CreateObject("Excel.Application")

objExcel.Visible = True
objExcel.Workbooks.Add

For i = 1 to 56
    objExcel.Cells(i, 1).Value = i
    objExcel.Cells(i, 1).Interior.ColorIndex = i
Next

用jscript实现新建word文档
Add Formatted Text to a Word Document
Add a Table to a Word Document
Add a Picture to a Microsoft Word Document
Add a Formatted Table to a Word Document
> 返回     
地址:上海市普陀区胶州路941号长久商务中心 电话: QQ:
© Copyright 2012 上海网络 Product All Rights Reserved