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

triggering the "post reply to folder" action



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3  
Old March 7th 09, 11:25 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default triggering the "post reply to folder" action

Not unless you explicitly create a new post item in the folder
(Folder.Items.Add) and populate all of its properties appropriately.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
wrote in message
...
On Mar 7, 1:40 am, wrote:
I have a PostItem object and want my macro to trigger the context menu
- post reply to folder action; and have access to the newly created
PostItem. The Reply and Forward methods return a MailItem object
that I can manipulate as I want, but there doesn't appear to be any
way to create a PostItem.


Followup. I've found an implementation but it requires embedding a
magic string into my VBA. Is there a less kludgy alternative?

Dim objReply As PostItem
Set objReply = objItem.Actions("Reply to Folder").Execute


 




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
2ND POST : Trying to forward a message in a public folder gives "you do not have siginificant permissions to perform this operation on this object" Default User Outlook - General Queries 4 January 4th 08 03:08 PM
why is "reply" tab always in Grey? can't click on "reply" to email onepoint Outlook - General Queries 3 September 14th 06 03:38 AM
Outlook "freezes" on "reply" when I set Word as my HTML editor? louis11 Outlook - Installation 0 May 12th 06 04:40 PM
dual post of "setting folder option" problem Gordon Byrne Outlook - General Queries 5 March 5th 06 08:40 PM
No "Reply action" on Actions tab lela2a Outlook - Using Forms 1 January 25th 06 09:50 PM


All times are GMT +1. The time now is 05:06 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-2025 Outlook Banter.
The comments are property of their posters.