Excel tip: Getting the processor speedDate: 13 january 2002
The following code will show you the processor name and speed of you computer. The code has been posted in the Microsoft Excel Developers List by by Julian Milano.
This code uses Windows Management Instrumentation (WMI), which was introduced in Windows 2000.
' shows the processor name and speed of the computer
Dim MyOBJ As Object
Dim cpu As Object
Set MyOBJ = GetObject("WinMgmts:").instancesof("Win32_Processor")
For Each cpu In MyOBJ
MsgBox cpu.Name & " " & cpu.CurrentClockSpeed & " Mhz", vbInformation
Share this page:
List of all utilities
Printer friendly page
^ Back to Top