Creating custom appointment request form with multiple mail recipients

Not open for further replies.

Yannik Stauffer

New Member
Outlook version
Outlook 2010 64 bit
Email Account
Exchange Server 2010

Thank you in advance for taking your time to see through my request. This is the first time I am working with Outlook custom forms so I might ask questions that usually seem obvious. I am a little experienced in VBA though so we don't have to start from scratch concerning what I need.

I need to create a custom appointment request form which sends a notification email to a certain address. The scenario is this:
At our company our users can reserve a room in the appointment request as usually met in other companies. The special request is that the appointment request will generate an email to our secretariat including a couple of information like how many people will attend and if refreshments are required. Building the form was not much of an issue as I could just drag&drop most of the needed elements. My question is now: How can I access those infos on the form and how can I send them in a seperate email to our secretariat?

We chose this option over simply adding the infos to the message field as this might not always be shown due to using the private tag on an appointment.

If you have any questions concering our environment or the custom solution then please don't hesitate to ask.

you need to use VBScript - read the recipients, then generate the mail. I have VBA samples that do most of that and it's fairly easy to convert it to VBScript so its embedded in the form, although not all VBA methods and functions work in vbscript.

This should give you an idea of how to get the attendees: Create a List of Meeting Attendees and Responses - it also has basic code for how to create a message.
Thank you Diane for your response.

I am not quite sure whether we understood each other or not. So I am going to describe my request once more (and a with more information).

The email I want to generate should be generated as soon as a meeting request is sent. But instead of sending all information (i.e. the agenda for the meeting) I only want to sent date, time, place and my custom fields to our secretariat so that they can provide the requested refreshments.

To break it down into smaller questions:
1. How can I execute a method / function on send? And where can I access that on my form customizer?
2. How can I access my custom fields?
3. How can I send a new email with my customized content?

This hopefully gives you more insight on what I want to do. I feel like we didn't quite talk about the same thing...
That is how i read it - you need to use VBScript and will need to count the recipients (and I assume, the room name). Once you get that, you'll use vbscript to compose the message when the Send button is pushed.

In Forms designer, there is a button called View Code - that is where you enter the script. It's similar to vba, but not quite as good. The available methods are on the Script > Event Handler menu - you'll use the send event.

Now... if you are going to be the only user and only on this computer, you could use a VBA macro that is triggered when the form is used. It is a little easier to work with IMHO but vbscript is stored in the published form so it's always available.
oh, and to get the values from custom fields, use
Ah, perfect! That's exactly what I was looking for. Thank you very much for you help!
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
S Custom Contact card - need help creating one Outlook VBA and Custom Forms 1
D Creating custom view with VBA Outlook VBA and Custom Forms 2
2 creating custom stationery Using Outlook 2
Fozzie Bear Creating Custom Meeting Form Outlook VBA and Custom Forms 6
S Creating custom rule to move if "NAME" is in body but ignore the phrase "Hi NAME" in the search Using Outlook 2
P Creating custom contact forms Using Outlook 2
F Creating Meeting Request Custom form and distribute it to domain user HELP!!! Using Outlook 0
F Creating Meeting Request Custom form and distribute it to domain user HELP!!! Using Outlook 0
L Creating Custom Rule to Forward emails to a BCC Using Outlook 1
A Help creating custom Contacts form - what type is 'Email' control? Outlook VBA and Custom Forms 1
G Creating Macro to scrape emails from calendar invite body Outlook VBA and Custom Forms 6
D Outlook 2016 Creating an outlook Macro to select and approve Outlook VBA and Custom Forms 0
N Help creating a VBA macro with conditional formatting to change the font color of all external emails to red Outlook VBA and Custom Forms 5
G Event when creating task from mailitem Outlook VBA and Custom Forms 2
T Outlook creating unwanted tasks in Tasks and Todo from emails Using Outlook 1
Fozzie Bear Outlook 2016 Creating a shared local Contacts folder Using Outlook 2
R Creating a user defined function Outlook VBA and Custom Forms 3
M Creating an RSS Feed **FROM** Outlook 2013 Calendar. Using Outlook 5
O How to prevent CC from showing when creating a new mail? Using Outlook 1
N Creating a button or link to a form in the Organizational Forms Library Outlook VBA and Custom Forms 3
B Creating an email with the list of tasks Outlook VBA and Custom Forms 0
L Creating drafts when I thought I was sending Using Outlook 1
R Would creating a new profile cause Outlook to download all the old mails from the server? Using Outlook 1
A Creating Progress Bar or Status Bar Update Outlook VBA and Custom Forms 0
T Outlook creating a folder named: "Unwanted" Using Outlook 3
M Outlook 2007 Contacts Glitch: Creating a new email Using Outlook 1
Liza Creating a rule in outlook to filter messages Using Outlook 0
A Are categories still recommended for creating local distribution lists? Using Outlook 3
S Creating Email - Selecting Pre-Defined Text Using Outlook 2
D Creating an outlook session from Access vba but run silently. With A specific profile Outlook VBA and Custom Forms 1
M Creating Outlook Appointments from Excel Cells Outlook VBA and Custom Forms 1
N Creating New Profile Using Outlook 0
M creating email from contact file = 3 emails in To field Using Outlook 3
P Recover / Extract Rules from standalone PST file creating RWZ file Using Outlook 2
A Creating an outlook rule to forward an email with a specific message Using Outlook 1
I Creating meeting invite with disabled tentative button Outlook VBA and Custom Forms 5
E Creating email templates for organizational use Using Outlook 0
N Creating or changing the main new mail message template in Outlook 2010 Using Outlook 2
J Outlook creating unwanted rule on its own Using Outlook 1
R Creating a Room Mailbox with Exchange Online Outlook VBA and Custom Forms 0
A Creating a rule on “Deleted items” folder Using Outlook 1
CMG73 Creating templates with predefined subject and CC Using Outlook 1
G Creating Contact Sub Folders Using Outlook 2
Rupert Dragwater creating gmail account in Outlook 2013 Using Outlook 7
nathandavies Creating a Select Case for a directory of folders Outlook VBA and Custom Forms 1
A Help creating macro for conditional formatting settings Using Outlook 8
U Creating a (This computer only) folder within an IMAP account directory Using Outlook 1
A Creating archive rule on the clients by script/ Outlook VBA and Custom Forms 3
J Creating a URL from a message body excerpt before forwarding Using Outlook 2
B Need Help Creating Email Based on Subject w Address in Body Outlook VBA and Custom Forms 1

Similar threads