Environ Function
SyntaxGroupEnviron[$](Index) -or- Environ[$](Name)
MiscellaneousDescription
Return an environment string.Pocket PC
Not supported.Sandbox
Sandbox mode blocks this function.
Parameters Description Index Return this environment string's value. If there is no environment string at this index a null string is returned. Indexes start at one. Name Return this environment string's value. If the environment string can't be found a null string is returned.
Sub Main Debug.Print Environ("Path") End Sub