» Determine the type of operating system using VBA in Microsoft Excel
VBA macro tip contributed by Erlandsen Data Consulting offering Microsoft Excel Application development, template customization, support and training solutions
CATEGORY - General Topics in VBA
VERSION - All Microsoft Excel Versions
Function OSis32BIT() As Boolean
OSis32BIT = False
If InStr(Application.OperatingSystem, "32-bit") Then
OSis32BIT = True
End If
End Function
Sub TestOSis32BIT()
If OSis32BIT Then
MsgBox "You use a 32bit operating system", , _
Application.OperatingSystem
Else
MsgBox "You don't use a 32bit operating system", , _
Application.OperatingSystem
End If
End Sub
Book Store:
Recommended Books:
- Absolute Beginner's Guide to Microsoft Excel 2002
- 422 Tax Deductions for Businesses and Self-Employed Individuals : You Get a Raise Every Time You Find a Legitimate Tax Deduction
- Investments + S&P Card + Powerweb + StockTrak discount coupon
- Accounting the Easy Way
- Yes, You Can Time the Market!
- Microsoft Outlook 2002 for Dummies
No comments have been submitted.

