View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Chip Pearson Chip Pearson is offline
external usenet poster
 
Posts: 7,247
Default Find out Operating System

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