View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default system variables

Range("A1").value = Environ("UserName")

as an example

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"William E Voorhees" wrote in message
...
How do I get a system variable (environment variable) to a cell in my
spreadsheet?

Thanks,

Bill V