Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Outlook - Meeting Requst using a Template

I've looked all over trying to find out how to send a Meeting Reques
using a template, but have not had any luck. Has anyone come acros
this in their coding?

Current Code below:
Sub SendMessage(Optional AttachmentPath)
On Error Resume Next

' Create the Outlook session.
Set objOutlook = CreateObject("Outlook.Application")

' Create the message.
Set oAppointment = Outlook.CreateItem(olAppointmentItem)


With oAppointment
'Set meeting parameters
.Duration = 30 '(in minutes)
.Location = sStation
.MeetingStatus = olMeeting
.Start = dTime

' Set the Subject, Body, and Importance of the message.
'.HTMLBody = CustomerMessage 'does not read HTML
.Subject = sSubject 'or title
.Body = CustomerMessage
.Importance = olImportanceHigh 'High importance

' Resolve each Recipient's name.
.Recipients.Add(sEmail).Type = 1 '1 = Required, 2 = Optional

DisplayMsg = True 'set to send auto = false
If DisplayMsg Then
.Display
Else
'.Save 'if you want a draft copy
.Send '--- Send the message.
End If

End With

'--- Remove the message and Outlook application from memory.
Set oAppointment = Nothing
Set objOutlook = Nothing

End Su

--
Message posted from http://www.ExcelForum.com

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I set up a repeating meeting in Outlook? MOSTAFA Excel Worksheet Functions 6 February 19th 10 01:26 AM
Meeting Request Outlook XP sending to some Ailish Excel Discussion (Misc queries) 1 May 9th 08 01:08 PM
how do i set up a repeating meeting in outlook? Naomi x Excel Discussion (Misc queries) 2 November 12th 07 04:49 PM
how do i se up a repeating meeting in outlook? m haider Charts and Charting in Excel 1 August 15th 07 08:05 PM
Outlook - Meeting Requst using a Template sawan Excel Programming 0 May 19th 04 06:01 PM


All times are GMT +1. The time now is 06:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"