re:
Hi,
Environ variables are actually very unreliable and can be easily be reset by the user. I hardly ever use them. API calls are much more reliable and perform almost all the same work. BTW...I did test some Environ functions in Acc2007 on WinXP and they work fine on my system. Make sure there are still set correctly under Control Panel--System--Advanced--Environment Variables...Also make sure they work in the immediate window of the VBA editor e.g. ?Environ("USERNAME")
HTH
Good luck