Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - Using Forms (http://www.outlookbanter.com/outlook-using-forms/)
-   -   Command Button (http://www.outlookbanter.com/outlook-using-forms/48956-command-button.html)

Daniel Vargas May 23rd 07 10:02 PM

Command Button
 
How can add a sub to my command button??

Sue Mosher [MVP-Outlook] May 23rd 07 10:35 PM

Command Button
 
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??



All times are GMT +1. The time now is 09:09 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com