PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming A button to move selected message from one public folder to another

Reply

A button to move selected message from one public folder to another

 
Thread Tools Rate Thread
Old 18-02-2004, 04:22 PM   #1
Domen Ferbar
Guest
 
Posts: n/a
Default A button to move selected message from one public folder to another


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.


  Reply With Quote
Old 24-02-2004, 08:47 PM   #2
Eric Legault [MVP - Outlook]
Guest
 
Posts: n/a
Default Re: A button to move selected message from one public folder to another

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.
>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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