Insert> Field has lots choices 4 document environment variables. u want OS environment variables - like PATH etc.? if so u can pick them up with ENVIRON("variableName") through VBA.
I am familiar with VBA in Access and Excel, but not so much in Word. So I have no clue how to do this.
I have a sentence in Word that needs to have the path that is related to the users' login path. I've been able to echo out the environment variable I want within Word's VBA but I don't know how to apply it directly to that sentence.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.