View Single Post
  #2  
Old May 30th 06, 05:20 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default Voting Response Report

The ActiveInspector object will give you access to the currently opened item
via the CurrentItem property:

Dim objMail As Outlook.MailItem

If ActiveInspector.CurrentItem.Class = olMailItem Then
Set objMail = ActiveInspector.CurrentItem
MsgBox "Voting Response: " & objMail.VotingResponse
End If

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


" wrote:

Hi,

I'd like to produce a printable voting response report for a given
voting e-mail. I understand the voting information can be retrieved
from the VotingResponse property, but as I have no knowledge of Outlook
programming (I only know Word and a little Excel), I have no idea how
to retrieve this value on the currently opened e-mail item.

Could anyone help me?

Thanks in advance.

Raph


Ads