Local Search Results
You arrived here after searching for the following phrases:
Click a phrase to jump to the first occurrence, or return to the search results.
Demonstration script that displays the various colors — and their related color index — available when programmatically controlling Microsoft Excel
Set excel = CreateObject( "Excel.Application" )
With excel
.Visible = True
.Workbooks.Add
End With
x = 1
Set wmiService = GetObject( "winmgmts:root\cimv2" )
Set colServices = wmiService.ExecQuery( "Select * From Win32_Service" )
For Each service in colServices
excel.Cells( x, 1 ) = service.Name
excel.Cells( x, 2 ) = service.State
x = x + 1
Next
Posted in MS-Excel

daniva




Recent Comments