send all the files in a folder

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Please help me with this. I need to build a macro or code to send oll the
files that are inside a folder. Something like this:
..Attachments.Add ("Z:\ViaExpress\*.*")
 
Hi Maria,

I think, the easiest way for you is using the Scripting Library. You can
add a reference on it via Extras->References, then click on "Microsoft
Scripting Runtime".

FileSystemObject.GetFolder liefert ein Folder object which provides you
with a Files collection. You can loop through this collection and add
each file to your e-mail.
 
FileSystemObject.GetFolder liefert ein Folder object which provides
you

sorry, should be: ...GetFolder returns a folder object ...
 
Back
Top