jscript之List Excel Color Values
更新時間:2007年06月13日 00:00:00 作者:
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
Demonstration script that displays the various colors -- and their related color index -- available when programmatically controlling Microsoft Excel.
Script Code
復(fù)制代碼 代碼如下:
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
相關(guān)文章
bootstrap table插件的分頁與checkbox使用詳解
這篇文章主要為大家詳細(xì)介紹了bootstrap table插件的分頁與checkbox使用詳解,具有一定的參考價值,感興趣的小伙伴們可以參考一下2017-07-07js實現(xiàn)簡單省市區(qū)三級選擇聯(lián)級
這篇文章主要介紹了js實現(xiàn)簡單省市區(qū)三級選擇聯(lián)級,文中示例代碼介紹的非常詳細(xì),具有一定的參考價值,感興趣的小伙伴們可以參考一下2021-04-04僅img元素創(chuàng)建后不添加到文檔中會執(zhí)行onload事件的解決方法
僅img元素創(chuàng)建后不添加到文檔中會執(zhí)行onload事件的解決方法,需要的朋友可以參考下。2011-07-07