Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
System Environment Variables
is there a way to use the SET/System Environment Variables in a spreadsheet?
If yes, please explain. If no, just respond with a no. Thanks in advance. BD |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
System Environment Variables
Hi BD
Paste the following code into a Module: Public Function envr_user(envr_var As String) envr_user = Environ(envr_var) End Function The enter the below in any cell changing the variable as appropriate: =envr_user("username") Thanks, Simon bdickert wrote: is there a way to use the SET/System Environment Variables in a spreadsheet? If yes, please explain. If no, just respond with a no. Thanks in advance. BD |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
RE-submitting of: constructing (complex) variables with worksheet functions | Excel Worksheet Functions | |||
Bubble Charts with two non-numerical variables | Excel Worksheet Functions | |||
constructing (complex) variables with worksheet functions | Excel Discussion (Misc queries) | |||
VBA reseting variables | Excel Discussion (Misc queries) | |||
Microsoft should put operating system on hardware not software | Excel Discussion (Misc queries) |