You cannot set focus to the controls in the Load() event, because they have not been made visible yet. Put the code in the Activate() event, or commandbutton instead.