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
推荐阅读
Locate a File Using a File Open Dialog Box
Demonstration script that displays a File Open dialog box (open to the folder C:Scripts), and then echoes back the name of the selected file. Supported Platforms Windows Server 2003 No Windows XP>>>详细阅读
本文标题:jscript之List Excel Color Values
地址:http://www.17bianji.com/kaifa2/JS/30347.html
1/2 1