![]() |
|
#1
|
|||
|
|||
![]()
Thanks
I will test and tell you what happens. But Where should I paste this code? ThisOutlookSession or a Module? |
#2
|
|||
|
|||
![]()
I wrote this code base on my googling data, in thisOutlookSession.
this code is like the one you kindly wrote for me. But when I receive a new mail, nothing happens Quote:
|
#3
|
||||
|
||||
![]() Quote:
You can test it by selecting a message and running the following: Code:
Sub Test() Dim olMsg As MailItem Set olMsg = ActiveExplorer.Selection.Item(1) ProcessAttachment olMsg End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
osama6767 | Excel | 3 | 05-28-2014 06:29 AM |
How to Copy data from Outlook mail and Paste it in a Excel sheet? | padhu1989 | Outlook | 0 | 09-11-2012 04:07 AM |
![]() |
fuchsd | Word | 6 | 10-25-2011 05:52 AM |
Problem with MS Outlook when open email with attached file | moniros | Outlook | 0 | 03-01-2009 12:50 AM |
Outlook xp slow when Browsing to attached a file | jmelgar1 | Outlook | 0 | 09-23-2008 01:49 PM |