send *.* files to outlook

M

mariagloria

Question:
I need to send 5 files by mail that are inside a folder in any place in
the computer. This files changes their names so the code must let me send
the context of the folder. The code to send a file es like this, but I
don´t
want to specify the names, I need to send all the files that are inside this
folder. Please help
me.
..Attachments.Add ("Z:\folderxxx\file1.XLS")
I need something like this:
..Attachments.Add ("Z:\folderxxx\*.XLS")
Thanks
 
J

John Vinson

Question:
I need to send 5 files by mail that are inside a folder in any place in
the computer. This files changes their names so the code must let me send
the context of the folder. The code to send a file es like this, but I
don´t
want to specify the names, I need to send all the files that are inside this
folder. Please help
me.
.Attachments.Add ("Z:\folderxxx\file1.XLS")
I need something like this:
.Attachments.Add ("Z:\folderxxx\*.XLS")
Thanks
Microsoft's Help system has landed you in the wrong newsgroup: this
one is for the database program Microsoft Access.

Please use the dropdown box (the one that says "Access" by default)
to select a more appropriate newsgroup, such as
microsoft.public.outlook.general.

John W. Vinson[MVP]
 

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

Top