Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Voting Response Report (http://www.outlookbanter.com/outlook-vba/16245-voting-response-report.html)

[email protected] May 30th 06 03:07 PM

Voting Response Report
 
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


Eric Legault [MVP - Outlook] May 30th 06 05:20 PM

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



[email protected] May 30th 06 08:55 PM

Voting Response Report
 
Thanks. Strangely, the VotingResponse property returns an empty string,
although the tracking tab of the mail does contain information...



All times are GMT +1. The time now is 08:36 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com