can Outlook 2003 save files without prompting?

R

rmckinney

I am tring to write a VBA macro which will handle certain incoming mail
items in my InBox and do a saveAs to my local harddrive. However,
everytime the macro runs, I get a prompt asking me if I really want to
do a saveAs. I don't want to answer the prompt - I want the emails to
save automatically. The help files state that this is an automatic
feature of Outlook 2003. Is there any way to work around it? I tried
using the SendKeys funtion to send a {Left}{Enter} to the dialogue box
but it only performs the {Left} key.
(Here is text from the VBA help files):

" When you use the SaveAs method to save items to the file system, you
receive an "address book" warning message. This includes all types of
items, whether or not the items have attachments or active content.
This change has been made so that someone cannot programmatically save
items to a file and then parse the file to retrieve e-mail addresses. "
Thanks in advance!
 
M

Milly Staples [MVP - Outlook]

You would be better served by posting this in one of the Outlook programming
groups - This type of question can best be answered by those who are more
experienced with programming.

You may want to post this in the microsoft.public.outlook.program_forms
group or in the microsoft.public.outlook.program_vba group.

You will probably receive a faster and more expert answer over there.

--
Milly Staples [MVP - Outlook]

Post all replies to the group to keep the discussion intact. Due to
the (insert latest virus name here) virus, all mail sent to my personal
account will be deleted without reading.

After furious head scratching, (e-mail address removed) asked:

| I am tring to write a VBA macro which will handle certain incoming
| mail items in my InBox and do a saveAs to my local harddrive. However,
| everytime the macro runs, I get a prompt asking me if I really want to
| do a saveAs. I don't want to answer the prompt - I want the emails to
| save automatically. The help files state that this is an automatic
| feature of Outlook 2003. Is there any way to work around it? I tried
| using the SendKeys funtion to send a {Left}{Enter} to the dialogue box
| but it only performs the {Left} key.
| (Here is text from the VBA help files):
|
| " When you use the SaveAs method to save items to the file system, you
| receive an "address book" warning message. This includes all types of
| items, whether or not the items have attachments or active content.
| This change has been made so that someone cannot programmatically save
| items to a file and then parse the file to retrieve e-mail addresses.
| " Thanks in advance!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top