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 and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

appointment from HTML message



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 10th 06, 10:33 AM posted to microsoft.public.outlook.program_vba
q
external usenet poster
 
Posts: 1
Default appointment from HTML message

Hi,
I have to do something, which gives me effects like that:
I'll receive a mail (very important html format) with some information
and a button or something that can create an appointment in my calendar
with reminder

The best way for me would be just appointment message containing html
information and a parameter that says don't delete appointment mail
message after accept from inbox (also very important)

I've thought about a html message, that containing a VBScript, which
can be run by a button, but I don't know if It's possible to do.

I'm new in this area, so if it's stupid question I'm sorry else
please give me some advice.

  #2  
Old August 14th 06, 04:59 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default appointment from HTML message

You can easily map a custom button on one of your toolbars in an open e-mail
message to create an appointment with specific data by pointing the button to
a macro like this:

Sub CreateAppointment()
Dim objAppt As Outlook.AppointmentItem

Set objAppt = Application.CreateItem(olAppointmentItem)
objAppt.Subject = "My appointment subject"
objAppt.Start = "1/9/2006"
objAppt.ReminderMinutesBeforeStart = 10080 'minutes = 1 week
objAppt.ReminderSet = True
objAppt.Display

Set objAppt = Nothing
End Sub

Futhermore, you cannot easily NOT delete specific Meeting Request items
after you accept them if Outlook is already configured to do so (via Tools -
Options - Preferences tab - E-mail Options - Advanced E-mail Options -
"Delete meeting request from Inbox after responding"). To do this likely
requires a COM Add-In (or advanced macro) that monitors the Items.ItemRemove
event for a particular folder. The problem with that approach is that the
event doesn't tell you what was deleted, so you'll have to build in the logic
to cache existing items and look for changes during the ItemRemove event.
Not fun.

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"q" wrote:

Hi,
I have to do something, which gives me effects like that:
I'll receive a mail (very important html format) with some information
and a button or something that can create an appointment in my calendar
with reminder

The best way for me would be just appointment message containing html
information and a parameter that says don't delete appointment mail
message after accept from inbox (also very important)

I've thought about a html message, that containing a VBScript, which
can be run by a button, but I don't know if It's possible to do.

I'm new in this area, so if it's stupid question I'm sorry else
please give me some advice.


 




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
HTML Message Delay Shaun Outlook - General Queries 0 July 25th 06 01:49 PM
outlook and HTML message abcd Outlook - General Queries 5 June 22nd 06 02:13 PM
The spacebar, next message, and conditional html [email protected] Outlook - General Queries 2 June 16th 06 02:44 PM
Message sent as Rich Text appear as HTML fali Outlook - General Queries 1 March 2nd 06 09:46 PM
Outlook 2003 will not print an HTML message Stan Kay Outlook - General Queries 8 January 14th 06 12:07 AM


All times are GMT +1. The time now is 04:33 AM.


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.