If all you want to do, as autoIT does, is open to a certain form, AlexCuse's method is the way to go! Why would you want to add extra overhead by using an AutoExec macro??? Any other functions you want to run at statup would be better done using VBA code and the OnLoad event of the opening form! VBA code is much more flexible and has error trapping!
The Missinglinq
Richmond, Virginia
There's ALWAYS more than one way to skin a cat!