#2
|
|||
|
|||
If 'Tools | Application Options | General | Include environment variables in system macros' is checked, you can use
Code:
Application.Macros(vbldMacroSystem)("ENV_VAR") Code:
Set shell = CreateObject("WScript.Shell") Builder.LogMessage shell.ExpandEnvironmentStrings("%PATH%") |
|
|