I only have Excel 2003 so the steps might be slightly different in 2007
In 2003 you have a choice of 2 buttons
Button 1 option
ControlToolbox Toolbar
Command Button
Draw button on sheet
Right click on button
View Code
Add following code to displayed Sub procedure - Change UserForm1 to the name of your form
Button Option 2
Forms Toolbar
Button
Draw button on sheet
Right click on button
Assign Macro
New
Add following code to displayed Sub procedure - Change UserForm1 to the name of your form
From my previous reply
Excel Programming was the best forum to post this question in
Bookmarks