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
251 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

708 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

13 Experts available now in Live!

Get 1:1 Help Now