It is as acdsky said,
from the "Control Toolbox" toobar select Command button.
The cursor changes to a small cross, move to area of sheet you wish the buttoon to be, click and hold left mouse button to draw commandbutton.
double click left mouse on command button to bring up code
eg
Private Sub CommandButton1_Click()
End Sub
then type into event what you want the button to do
Private Sub CommandButton1_Click()
Randomizer.Show
End Sub
Finally Select the "Exit Design Mode" button on the control toolbox to enable the command button.
Hope this helps
Martin
|