Mohan,
Use
Application.OperatingSystem
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
"Mohan" wrote in message
...
Is there a way to find out the Operating System on a
workstation through VBA code.
I am using other exe files of the operating system (like
notepad.exe). Different operating system has this file in
different locations. How can I find out the OS of the
workstation running Excel through VBA code.?
Any help is appreciated.
Thank you