PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
A button to move selected message from one public folder to another
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
A button to move selected message from one public folder to another
![]() |
A button to move selected message from one public folder to another |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi all!
I am looking for a way to add a button to Outlook toolbar that will move selected message from one public folder to another one. I know I can right click it and then select the appropriate folder, but this just leads into to many errors with my users. |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Do you have an existing macro that you want to map to a toolbar? Or are you
looking to automate the actions that you have described? If the latter, you can get MailItem or other objects from the selected message(s) by using the Explorer.Selection property. You can also use the NameSpace.PickFolder method (which launches a form to choose a folder from the hierarchy) to obtain a MAPIFolder object that you can then pass as an argument to the MailItem.Move method. -- Eric Legault - B.A, MCP, MCSD, Outlook MVP Job: http://www.imaginets.com Blog: http://blogs.officezealot.com/legault "Domen Ferbar" <domenpikaferbarprikapitalskaminusdruzbapikasi> wrote in message news:%23ycUitj9DHA.888@tk2msftngp13.phx.gbl... > Hi all! > > I am looking for a way to add a button to Outlook toolbar that will move > selected message from one public folder to another one. I know I can right > click it and then select the appropriate folder, but this just leads into to > many errors with my users. > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

