Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / January 2006

Tip: Looking for answers? Try searching our database.

How do I determine OS (98 or XP)?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
WDR - 20 Jan 2006 04:19 GMT
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
Gary Keramidas - 20 Jan 2006 04:25 GMT
you can try these

Sub test()
Range("a1") = Environ("os")
Range("a2") = Environ("UserName")
End Sub

Signature

Gary

> Using VBA...
> 1) How do I determine which operation system (98 or XP) is running on he
[quoted text clipped - 6 lines]
> Thanks in Advance,
> -Warren
N10 - 20 Jan 2006 09:39 GMT
You could add

Range("a3") = Application.OperatingSystem

> you can try these
>
[quoted text clipped - 13 lines]
>> Thanks in Advance,
>> -Warren
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.