![]() |
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
|
|||
|
|||
![]()
I am trying to make a VB macro to run Outlook, process every email that comes
to the inbox from a machine that sends an identical email subject with a small amount of descriptive text in the body and a numerical .csv data file attachment. It reads a unique time, date and type from the body then using them, saves the body and attachment with a unique filename as a .txt and a ..csv file respectively. Two problems 1) with the code: Set myNameSpace = Application.GetNamespace("MAPI") Set myFolder = myNameSpace.GetDefaultFolder(olFolderInbox) myFolder.Display it opens a new instance of the inbox every time it executes. How do I prevent that? It displays a security error when it tries to save the data. How do I suppress that error? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with Saving Attachment with VBA from Rules | Murphybp2 | Outlook and VBA | 4 | August 21st 07 02:16 PM |
HTM body and an attachment | Edwin | Outlook - Using Forms | 0 | January 23rd 07 01:39 PM |
Saving Attachments using VBA and parsing information from subject/body | [email protected] | Outlook and VBA | 3 | December 12th 06 07:56 PM |
Read Attachment - Body | Vadhimoo | Outlook and VBA | 1 | December 4th 06 05:59 AM |
saving email without attachment | Happy | Outlook Express | 3 | January 24th 06 05:34 PM |