You don't need to SetFocus to a specific command button in order to make it the default. Command buttons have a Default property that you can set to True to make it the default. When any given command button's Default property is set to True, all others are automatically set to False.