Is This Content Helpful?
We're glad to know this article was helpful.
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: