Environ Function
Syntax
Environ[$](Index) -or- Environ[$](Name)
Group
Description
Returns an environment string.
Pocket PC
Not supported.
Sandbox
Sandbox mode blocks this function.
Parameters
| Parameters | Description |
|---|---|
| Index | Returns the environment string value. If there is no environment string at this index, a null string is returned. Indexes start at one. |
| Name | Returns the environment string value. If the environment string cannot be found, a null string is returned. |
Sub Main Debug.Print Environ("Path") End Sub