![]() |
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
|
|||
|
|||
![]()
Hi-
I need some way of shipping people external to my agency at least the contents of a customized form, even if I lose the formatting. The only method I can think at present is to build a button to execute some sort of macro or code onto a customized form that saves the form as text, and then attaching that text to the e-mail that goes externally. The goal of the form is notify residential providers that we need placement for an especially troubled child, while supplying the providers with all the steps, dates and decisions (and the full list of people involved in those decisions) that have been completed to date by my agency's staff. Thanks for your help and suggestions. I use Outlook 2000, others have 2003. -- Richard |
Ads |
#2
|
|||
|
|||
![]()
You're on the right track. What you need to do is create a completely new message (Application.CreateItem), populate its Recipients collection, set its Subject and HTMLBody properties and send that message, not the custom form message. You should never send a custom form message externally.
-- 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 "Richard" wrote in message ... Hi- I need some way of shipping people external to my agency at least the contents of a customized form, even if I lose the formatting. The only method I can think at present is to build a button to execute some sort of macro or code onto a customized form that saves the form as text, and then attaching that text to the e-mail that goes externally. The goal of the form is notify residential providers that we need placement for an especially troubled child, while supplying the providers with all the steps, dates and decisions (and the full list of people involved in those decisions) that have been completed to date by my agency's staff. Thanks for your help and suggestions. I use Outlook 2000, others have 2003. -- Richard |
#3
|
|||
|
|||
![]()
Sue-
I'm totally inexperienced in this. Does my customized form have to be published internally for this to work? I do have someone who can help me with VBA code, but I better know the quirks of Outlook... -- Richard "Sue Mosher [MVP-Outlook]" wrote: You're on the right track. What you need to do is create a completely new message (Application.CreateItem), populate its Recipients collection, set its Subject and HTMLBody properties and send that message, not the custom form message. You should never send a custom form message externally. -- 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 "Richard" wrote in message ... Hi- I need some way of shipping people external to my agency at least the contents of a customized form, even if I lose the formatting. The only method I can think at present is to build a button to execute some sort of macro or code onto a customized form that saves the form as text, and then attaching that text to the e-mail that goes externally. The goal of the form is notify residential providers that we need placement for an especially troubled child, while supplying the providers with all the steps, dates and decisions (and the full list of people involved in those decisions) that have been completed to date by my agency's staff. Thanks for your help and suggestions. I use Outlook 2000, others have 2003. -- Richard |
#4
|
|||
|
|||
![]()
Yes, if you want a custom Outlook form to run code, it must be published. Unpublished forms don't run code.
The programming language for code behind an Outlook form is VBScript, not VBA. -- 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 "Richard" wrote in message ... Sue- I'm totally inexperienced in this. Does my customized form have to be published internally for this to work? I do have someone who can help me with VBA code, but I better know the quirks of Outlook... -- Richard "Sue Mosher [MVP-Outlook]" wrote: You're on the right track. What you need to do is create a completely new message (Application.CreateItem), populate its Recipients collection, set its Subject and HTMLBody properties and send that message, not the custom form message. You should never send a custom form message externally. "Richard" wrote in message ... Hi- I need some way of shipping people external to my agency at least the contents of a customized form, even if I lose the formatting. The only method I can think at present is to build a button to execute some sort of macro or code onto a customized form that saves the form as text, and then attaching that text to the e-mail that goes externally. The goal of the form is notify residential providers that we need placement for an especially troubled child, while supplying the providers with all the steps, dates and decisions (and the full list of people involved in those decisions) that have been completed to date by my agency's staff. |
#5
|
|||
|
|||
![]()
Sue-
Thanks again for your attention. To create the e-mail that goes externally, do I create the e-mail from the custom form in the act of sending or writing the custom form to internal users, or do I run the code after the internal e-mail has been sent? I'd like to create the external e-mail from within the process of sending the internal custom e-mail, as it allows me to test user access to that feature (only certain users will be allowed to send external e-mail). I'm not in our main IS shop so I have very little flexibility as to what tools I have available. Any ideas of what key words to use to search for examples of code are greatly appreciated. By the way, I've put your book on Outlook programming in the VBA programmers' hands whose helping me over the next two days... -- Richard "Sue Mosher [MVP-Outlook]" wrote: Yes, if you want a custom Outlook form to run code, it must be published. Unpublished forms don't run code. The programming language for code behind an Outlook form is VBScript, not VBA. -- 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 "Richard" wrote in message ... Sue- I'm totally inexperienced in this. Does my customized form have to be published internally for this to work? I do have someone who can help me with VBA code, but I better know the quirks of Outlook... -- Richard "Sue Mosher [MVP-Outlook]" wrote: You're on the right track. What you need to do is create a completely new message (Application.CreateItem), populate its Recipients collection, set its Subject and HTMLBody properties and send that message, not the custom form message. You should never send a custom form message externally. "Richard" wrote in message ... Hi- I need some way of shipping people external to my agency at least the contents of a customized form, even if I lose the formatting. The only method I can think at present is to build a button to execute some sort of macro or code onto a customized form that saves the form as text, and then attaching that text to the e-mail that goes externally. The goal of the form is notify residential providers that we need placement for an especially troubled child, while supplying the providers with all the steps, dates and decisions (and the full list of people involved in those decisions) that have been completed to date by my agency's staff. |
#6
|
|||
|
|||
![]()
I'd do it in the Item_Send event handler of the custom form, calling Application.CreateItem to create the external message, then populating its properties and sending it.
-- 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 "Richard" wrote in message ... Sue- Thanks again for your attention. To create the e-mail that goes externally, do I create the e-mail from the custom form in the act of sending or writing the custom form to internal users, or do I run the code after the internal e-mail has been sent? I'd like to create the external e-mail from within the process of sending the internal custom e-mail, as it allows me to test user access to that feature (only certain users will be allowed to send external e-mail). I'm not in our main IS shop so I have very little flexibility as to what tools I have available. Any ideas of what key words to use to search for examples of code are greatly appreciated. By the way, I've put your book on Outlook programming in the VBA programmers' hands whose helping me over the next two days... -- Richard "Sue Mosher [MVP-Outlook]" wrote: Yes, if you want a custom Outlook form to run code, it must be published. Unpublished forms don't run code. The programming language for code behind an Outlook form is VBScript, not VBA. "Richard" wrote in message ... Sue- I'm totally inexperienced in this. Does my customized form have to be published internally for this to work? I do have someone who can help me with VBA code, but I better know the quirks of Outlook... -- Richard "Sue Mosher [MVP-Outlook]" wrote: You're on the right track. What you need to do is create a completely new message (Application.CreateItem), populate its Recipients collection, set its Subject and HTMLBody properties and send that message, not the custom form message. You should never send a custom form message externally. "Richard" wrote in message ... Hi- I need some way of shipping people external to my agency at least the contents of a customized form, even if I lose the formatting. The only method I can think at present is to build a button to execute some sort of macro or code onto a customized form that saves the form as text, and then attaching that text to the e-mail that goes externally. The goal of the form is notify residential providers that we need placement for an especially troubled child, while supplying the providers with all the steps, dates and decisions (and the full list of people involved in those decisions) that have been completed to date by my agency's staff. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Reply/Forward with Customized Forms | Ivan Cespedes | Outlook - Using Forms | 10 | October 5th 06 08:10 PM |
Customized Forms Help | mbe | Outlook - Calandaring | 0 | July 18th 06 09:55 PM |
customized forms in outlook | Srinivas | Add-ins for Outlook | 1 | July 7th 06 12:54 PM |
Problem with customized outlook forms | Muhammad Usman | Outlook - Using Forms | 5 | April 25th 06 07:07 PM |
Customized task forms should retain characteristics when assigned | OldDogNewTricks | Outlook - Using Forms | 1 | April 20th 06 04:01 AM |