A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

button on toolbar



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 22nd 06, 05:24 PM posted to microsoft.public.outlook.program_forms
Pam Coleman
external usenet poster
 
Posts: 4
Default 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
Ads
  #2  
Old August 22nd 06, 06:08 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default 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

  #3  
Old August 22nd 06, 06:30 PM posted to microsoft.public.outlook.program_forms
Pam Coleman
external usenet poster
 
Posts: 4
Default 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


  #4  
Old August 22nd 06, 06:43 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default 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 news
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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I reinstall the save button on the toolbar? MGP Outlook - Calandaring 1 July 12th 06 08:22 PM
New Email Button on toolbar Angel Outlook and VBA 1 June 14th 06 05:30 PM
Create button on toolbar for form BTH Outlook - Using Forms 1 May 11th 06 01:22 PM
click a button on the toolbar (via VBA?) Dan Outlook and VBA 7 May 2nd 06 10:35 AM
click a button on the toolbar (via VBA?) Dan Outlook - General Queries 2 May 1st 06 02:39 PM


All times are GMT +1. The time now is 04:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.