We are switching over to Windows 7. I have a line of code in two different apps that is using Environ$ to get some data from an ini file. In VB6 (yes, I did say VB6), the code works fine. However, in VBA, I get a compile error, and it tells me the library is not found. I know it is something simple that I'm not seeing. Any ideas? With vba, I'm using it in a word template to get user information stored in an ini file on their home drive. Also, I want to add that this does work in our current environment. It just doesn't work on Windows 7.