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

Dear experts,

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

Vijay PAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ShumsExcel & VBA ExpertCommented:
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.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Bill PrewIT / Software Engineering ConsultantCommented:
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...

Vijay PAuthor Commented:
i got it thank you for your kind support.
Bill PrewIT / Software Engineering ConsultantCommented:
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.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.