Is the code in post #1 in a change event? If so, when you populate B8 with the command button it could be triggering that event and re-showing the form.