» 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:
- Microsoft Excel 2002 Simply Visual
- Millionaire Real Estate Mentor : The Secrets of Financial Freedom through Real Estate Investing
- The Intelligent Investor: The Definitive Book On Value Investing, Revised Edition
- Keys to Reading an Annual Report (Barron's Business Keys)
- The One Page Business Plan: Start With a Vision, Build a Company!
- Microsoft Windows XP Inside Out
No comments have been submitted.

