A few days ago I had some questions about setfocus. Now I have made a procedure which solves a lot of problems for me with setfocus and commandbuttons. But there is something I don't understand. For some reason vba gives an error when I want to set the focus to the comandbutton, and a few minutes later there no problems. Does somebody know why this is happening?
Jan
Jan