![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I know this is an absolute newbie question, but I've designed a basic form
with radio/checkboxes etc. All I want it to do is load, but I can't seem to find any way to actually link it to an Outlook button? I see references to posting forms that are a different format, (Public forms or some such thing), and I tried exporting the Form (Not actually sure it's technically called a form), any advice? |
Ads |
#2
|
|||
|
|||
![]()
Is this an Outlook item form (contact, email, task, etc.) or an actual VBA
form? What steps did you take to create it? What version of Outlook? -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Mitch" wrote in message ... I know this is an absolute newbie question, but I've designed a basic form with radio/checkboxes etc. All I want it to do is load, but I can't seem to find any way to actually link it to an Outlook button? I see references to posting forms that are a different format, (Public forms or some such thing), and I tried exporting the Form (Not actually sure it's technically called a form), any advice? |
#3
|
|||
|
|||
![]()
Outlook 2003 11.8206.8221 SP3
Created it by going to the VB editor, insert UserForm. So far everything I've found points to Contacts, inbox, message, calendar forms... but this is just a form to generate emails based on user input. "Ken Slovak - [MVP - Outlook]" wrote: Is this an Outlook item form (contact, email, task, etc.) or an actual VBA form? What steps did you take to create it? What version of Outlook? -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Mitch" wrote in message ... I know this is an absolute newbie question, but I've designed a basic form with radio/checkboxes etc. All I want it to do is load, but I can't seem to find any way to actually link it to an Outlook button? I see references to posting forms that are a different format, (Public forms or some such thing), and I tried exporting the Form (Not actually sure it's technically called a form), any advice? |
#4
|
|||
|
|||
![]()
You can add a button to the toolbar that calls a macro. A macro is a Public
Sub that takes no arguments. That macro would be used to display your form. Assuming your form is named "MyForm", to display it you'd use code something like this: Public Sub DisplayMyForm() MyForm.Show vbModal End Sub The vbModal argument would stop code execution in your macro until the form is closed, and wouldn't allow the user to work with anything else in Outlook until the form was closed. To open the form in a non-modal way where code execution could continue after the call to open the form in the macro and the user could work on other things in Outlook use the argument vbModeless. If you right-click on the toolbar and select Customize then you can select the Commands tab, select Macros in the list on the left and select your macro. Then drag it where you want it on your toolbar. While in customize mode you can right-click the new button to set properties such as the name for the button. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Mitch" wrote in message ... Outlook 2003 11.8206.8221 SP3 Created it by going to the VB editor, insert UserForm. So far everything I've found points to Contacts, inbox, message, calendar forms... but this is just a form to generate emails based on user input. |
#5
|
|||
|
|||
![]()
fantastic, works like a charm! Appreciate the additional information on modal.
"Ken Slovak - [MVP - Outlook]" wrote: You can add a button to the toolbar that calls a macro. A macro is a Public Sub that takes no arguments. That macro would be used to display your form. Assuming your form is named "MyForm", to display it you'd use code something like this: Public Sub DisplayMyForm() MyForm.Show vbModal End Sub The vbModal argument would stop code execution in your macro until the form is closed, and wouldn't allow the user to work with anything else in Outlook until the form was closed. To open the form in a non-modal way where code execution could continue after the call to open the form in the macro and the user could work on other things in Outlook use the argument vbModeless. If you right-click on the toolbar and select Customize then you can select the Commands tab, select Macros in the list on the left and select your macro. Then drag it where you want it on your toolbar. While in customize mode you can right-click the new button to set properties such as the name for the button. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Mitch" wrote in message ... Outlook 2003 11.8206.8221 SP3 Created it by going to the VB editor, insert UserForm. So far everything I've found points to Contacts, inbox, message, calendar forms... but this is just a form to generate emails based on user input. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Load request form fails: Could not load some objects because they arenot available on this machine | [email protected] | Outlook - General Queries | 1 | August 5th 08 11:22 PM |
form does not load | tilopa | Outlook - Using Forms | 2 | December 7th 06 11:29 PM |
Cant choose form,shows load form failed.why ? | Hongwan1979 | Outlook - Using Forms | 1 | October 20th 06 02:08 PM |
outlook form will not load | Jimmy | Outlook - Using Forms | 0 | October 10th 06 06:04 PM |
"Form Load Failed" error in Outlook 2003! | TC | Outlook - Using Forms | 0 | February 22nd 06 12:52 AM |