title: UserName = Environ$("UserName") not working in latest versions of Windows?
body: <p>This code does not appear to work in Windows 7/8? </p>
  
  <pre><code>Public Function UserName()
      UserName = Environ$("UserName")
  End Function
  </code></pre>
  
  <p>Is there a hack for this?</p>
  
  <p>Regards,</p>