您的位置:首页 > 产品设计 > UI/UE

jscript之List Excel Color Values

2007-06-13 00:00 127 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: