how to set an environment variable programmatically?

A

Agostino

How do I set a system environment variable programmatically?
Is there any api call?
Thanks in advance
Agostino
 
R

Rod Gill

Not from within VBA. You could look up a Windows API call and call that from
VBA. Look at msdn.microsoft.com for Windows API's or search the web.
 
Top