View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Jim Thomlinson Jim Thomlinson is offline
external usenet poster
 
Posts: 5,939
Default System Environment Variables

msgbox Environ("UserName") & vbcrlf & Environ("ComputerName")
--
HTH...

Jim Thomlinson


"bdickert" wrote:

I am trying to capture information into an Excel Spreadsheet specifically a
couple of System Environment Variables like Computername, Username, etc. Is
this possible?
Please explain if this is possible. Thanks in advance. BD