How to Get OperatingSystem User using Macro

M

Mili

Hi,
I would like to display the Operating System User
using VB Macro in Excel.

I am using Ms Office 2000

Thanks

Regards

Mili
 
C

Chip Pearson

Mili,

You can use Application.OperatingSystem to return a string describing the
operating system. E.g.,

Msgbox Application.OperatingSystem


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com [email protected]
 
Top