Solved

How can I capture the operating system as a string that an excel workbook is running on using vba code in excel?

Posted on 2007-04-04
2
253 Views
Last Modified: 2010-03-05
I am trying to capture some usage information about the computer a person is using while working on our applications.  we are then shooting this information to an SQL database.

How can I capture the operating system as a string that the application is running on using vba code in excel?
0
Comment
Question by:ohmetw
2 Comments
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 500 total points
ID: 18849831
You can use:
Application.OperatingSystem

:)

HTH
Rory
0
 

Author Comment

by:ohmetw
ID: 18849977
excellent...man...how simple can it get!!!  :-)

Thanks!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now