Get OS Name / Get Windows Directory
Sub Environ_Vars()
' Get Environmental Variables using VBA
' Get the LOGON SERVER
sLOGONSERVER = Environ("LOGONSERVER")
' No of processors using VBA
sNUMBER_OF_PROCESSORS = Environ("NUMBER_OF_PROCESSORS")
' Get the Operating System using VBA
sOS = Environ("OS")
' Get the USER DOMAIN using VBA
sUSERDOMAIN = Environ("USERDOMAIN")
' Get the Windows Directory using VBA
swindir = Environ("windir")
End Sub
Showing posts with label No of processors using VBA. Show all posts
Showing posts with label No of processors using VBA. Show all posts
Friday, May 04, 2007
Subscribe to:
Posts (Atom)
Download Windows Live Toolbar and personalize your Web experience! Add custom buttons to get the information you care about most.