I have 3 Active Server Environments test,acpt and production. I am using an ASP page to activate an excel application and use VBA in excel to populate information residing in a Sequel Server Database. What is the best way to make my VBA in excel smart enough to know which ASP environment it is currently residing in.