How to Get OperatingSystem User using Macro

  • Thread starter Thread starter Mili
  • Start date Start date
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
 
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 (e-mail address removed)
 
Back
Top