Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - Using Forms (http://www.outlookbanter.com/outlook-using-forms/)
-   -   button on toolbar (http://www.outlookbanter.com/outlook-using-forms/24737-button-toolbar.html)

Pam Coleman August 22nd 06 05:24 PM

button on toolbar
 
If I have created a form in outlook using the design form and it is stored in
the Personal Forms Library, is there a way I can add a button to the toolbar,
so when I click on it, the form will populate in my message area. Thanks

Sue Mosher [MVP-Outlook] August 22nd 06 06:08 PM

button on toolbar
 
A button on the form would be more appropriate:

Sub COmmandButton1_Click()
Item.Body = "my text"
End Sub

See http://www.outlookcode.com/d/propsyntax.htm if you need a primer on property and control syntax.

--
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

"Pam Coleman" wrote in message ...
If I have created a form in outlook using the design form and it is stored in
the Personal Forms Library, is there a way I can add a button to the toolbar,
so when I click on it, the form will populate in my message area. Thanks


Pam Coleman August 22nd 06 06:30 PM

button on toolbar
 
I do not know how that would help putting the button on the form. If the
form is created and store in the Personal Forms Library, I want the button to
open the form. How would creating it on the form work? Thanks,

"Sue Mosher [MVP-Outlook]" wrote:

A button on the form would be more appropriate:

Sub COmmandButton1_Click()
Item.Body = "my text"
End Sub

See http://www.outlookcode.com/d/propsyntax.htm if you need a primer on property and control syntax.

--
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

"Pam Coleman" wrote in message ...
If I have created a form in outlook using the design form and it is stored in
the Personal Forms Library, is there a way I can add a button to the toolbar,
so when I click on it, the form will populate in my message area. Thanks



Sue Mosher [MVP-Outlook] August 22nd 06 06:43 PM

button on toolbar
 
That's a different scenario from what you first described, which I interpreted as a button to populate the form's message area.

To create a button to launch a custom form, see http://www.outlookcode.com/d/launchform.htm

--
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

"Pam Coleman" wrote in message ...
I do not know how that would help putting the button on the form. If the
form is created and store in the Personal Forms Library, I want the button to
open the form. How would creating it on the form work? Thanks,

"Sue Mosher [MVP-Outlook]" wrote:

A button on the form would be more appropriate:

Sub COmmandButton1_Click()
Item.Body = "my text"
End Sub

See http://www.outlookcode.com/d/propsyntax.htm if you need a primer on property and control syntax.

"Pam Coleman" wrote in message ...
If I have created a form in outlook using the design form and it is stored in
the Personal Forms Library, is there a way I can add a button to the toolbar,
so when I click on it, the form will populate in my message area. Thanks




All times are GMT +1. The time now is 05:48 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