Vba code required for to attach all .gif (pictures) from folder to email body

Vijay P
Vijay P used Ask the Experts™
on
Dear experts,

How to attach all .gif (pictures) from foder to email body. Required vba code.


Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Managing Director/Excel VBA Developer
Distinguished Expert 2018
Commented:
Hi Vijay,

I am not sure what code exactly you are looking for. I found something which may interest you and direct you to accomplish your goal.

If you are familiar with VB Scripts, then have a look Embed Images in New Messages using a Macro

If you need further help in changing the code, do let me know.

Regards,
Shums
Bill PrewTest your restores, not your backups...
Top Expert 2016

Commented:
Can you please explain further what you need, and how the code will be used?  Do you just want to attach the files to an outgoing message already being composed?  Do you want to embed in an email being created?  Of does the VBA need to create and send the email too?  How will the folder to get the files from be determined.  Etc, need lots more info to code something...

~bp

Author

Commented:
i got it thank you for your kind support.
Bill PrewTest your restores, not your backups...
Top Expert 2016

Commented:
Vijay P

It would be great if you could post the solution you created for others to benefit from.  Then take a look at this article, it will help you with the question close process.


For future reference here some other items related to closing questions in case they are helpful.


And don't forget you can always "request attention" on a question if you are not sure how to proceed and a support person will be in touch to help you out.

~bp

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial