![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Our workgroup has been requested to send emails a specific subject that
are saved in our personal folders in Outlook 2003 to an email address set up for document retention purposes. Each individual email must be forwarded separately. I have attempted to use this macro I found, but I can't get it to send more than one email at a time. Is there a way to change it to send numerous highlighted emails (i.e., 10 at a time) from Outlook? Function GetCurrentItem() As Object Dim objApp As Outlook.Application Set objApp = CreateObject("Outlook.Application") On Error Resume Next Select Case TypeName(objApp.ActiveWindow) Case "Explorer" Set GetCurrentItem = objApp.ActiveExplorer.Selection.Item(1) Case "Inspector" Set GetCurrentItem = objApp.ActiveInspector.CurrentItem Case Else End Select Set objApp = Nothing End Function Sub ADDASSPAM() Dim myOlApp As New Outlook.Application Dim myItem, myForward As Object Set myItem = GetCurrentItem() Set myForward = myItem.Forward myForward.To = " Set myForward.SaveSentMessageFolder = Application.GetNamespace("MAPI").GetDefaultFolder( olFolderDeletedItems) myForward.Send Set myItem = Nothing Set myForward = Nothing End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to setup a rule to forward rule in Outlook (xp or 2003) to forward emails from a certain domain when app isnt running? | KingCronos | Outlook - General Queries | 7 | November 15th 06 11:22 AM |
Outlook Macro To Forward Emails | [email protected] | Outlook - General Queries | 3 | September 23rd 06 09:08 PM |
forward macro | newbies | Outlook and VBA | 4 | August 16th 06 01:33 AM |
outlook forward macro | Phil Best | Outlook and VBA | 6 | July 18th 06 01:45 PM |
macro to forward | Dan | Outlook and VBA | 8 | February 23rd 06 07:22 PM |