In form design mode, click the View Code button and type:
Sub CommandButton1_Click()
MsgBox "put your code here"
End Sub
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"Daniel Vargas" wrote in message ...
How can add a sub to my command button??