今天图老师小编给大家展示的是jscript之List Excel Color Values,精心挑选的内容希望大家多多支持、多多分享,喜欢就赶紧get哦!
【 tulaoshi.com - Web开发 】
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
List all the Databases on a SQL Server. Supported Platforms SQL Server 2000 Yes Script Code strDBServerName = "." Set objSQLServer = CreateObject("SQLDMO.SQLServer") objSQLServer.LoginSecure = True objSQLServer...