Extract Lotus Notes Email Attachments Using Excel VBA

Yiyi

New Member
Joined
Apr 20, 2011
Messages
2
Hello,

I have been assigned a project using Excel VBA to programically:

1. Open a Lotus Notes database

2. Search every folder in Lotus Notes where emails were saved in (emails are being saved in several folders depending who sent them, so I need to programically loop thru every folder and every email in each folder)

3. Extract every attachment in each email

4. Save the attachments in a named location giving each attachment a unique auto created sequential name (I want to rename each attachment using the folder's name and the email's received date ex. AD062111-1 (first attachment in email), AD062111-2 (second attachment in email)).

Attachments are sent in Excel and Adobe formats.

Have searched the web and this forum. All that I have found is on sending emails from Excel through VBA. I don't know where else to go. I am despirate.

Kind regards,
Yiyi
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
2. Search every folder in Lotus Notes where emails were saved in (emails are being saved in several folders depending who sent them, so I need to programically loop thru every folder and every email in each folder)
Loop through the Views property of the Notes database to get each folder - see http://publib.boulder.ibm.com/infoc...esigner.domino.main.doc/H_VIEWS_PROPERTY.html - and for each folder (Notes view) loop through the documents (Notes emails) in that folder.

For the other parts of your project, there should be examples of VBA code in this forum and elsewhere. Restrict your search to just the words in each part and develop the whole task bit by bit.
 
Upvote 0

Forum statistics

Threads
1,224,584
Messages
6,179,691
Members
452,938
Latest member
babeneker

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top