Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Using VBA...
1) How do I determine which operation system (98 or XP) is running on he computer? 2) For the XP op sys, how do I determine which user is logged into the computer? I am using Excel 2000. Thanks in Advance, -Warren |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
you can try these
Sub test() Range("a1") = Environ("os") Range("a2") = Environ("UserName") End Sub -- Gary "WDR" wrote in message ... Using VBA... 1) How do I determine which operation system (98 or XP) is running on he computer? 2) For the XP op sys, how do I determine which user is logged into the computer? I am using Excel 2000. Thanks in Advance, -Warren |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You could add
Range("a3") = Application.OperatingSystem "Gary Keramidas" <GKeramidasATmsn.com wrote in message ... you can try these Sub test() Range("a1") = Environ("os") Range("a2") = Environ("UserName") End Sub -- Gary "WDR" wrote in message ... Using VBA... 1) How do I determine which operation system (98 or XP) is running on he computer? 2) For the XP op sys, how do I determine which user is logged into the computer? I am using Excel 2000. Thanks in Advance, -Warren |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to determine the value? | Excel Discussion (Misc queries) | |||
How to determine the value? | Excel Discussion (Misc queries) | |||
How to determine the value? | Excel Discussion (Misc queries) | |||
How to determine the value? | Excel Worksheet Functions | |||
How to Determine 1st, 2nd & 3rd for a PWD | Excel Discussion (Misc queries) |