HOW TO
This article shows how to get the value for an environment variable into an ArcMap VBA project.
Use the Environ function to return the string associated with the specified environment variable. For example:
Code:
MsgBox Environ("ARCHOME")
Article ID:000004868
Get help from ArcGIS experts
Download the Esri Support App