Link to home
Start Free TrialLog in
Avatar of Matty
Matty

asked on

VBScript to iteratively copy .png files to Word document

Can anyone help me solve below problem:

I have over 2000 png images saved in different files on my computer. I want to write a VBScript function that does something like go to a particular folder and iteratively copy-paste all the png files in that folder to a PDF file or word document .

1. The header before pasting the png files in the word document should be same as the folder name.
2.  The .png files should be inserted in order of when they got created. That is the first created .png file will be first inserted and the last will be last inserted in the word or PDF file.
3. Upon successful copy of all the .png files in this folder,  the folder should be deleted.

Any assistance if this is possible will be appreciated
Avatar of Kyle Santos
Kyle Santos
Flag of United States of America image

Hi,

I am here to help you with your open question.  Do you still need help?  I have the ability to alert more experts if you still need help.

If you solved the problem on your own, would you please post the solution here in case others have the same problem?

If you need me to delete this question just say "Delete."

Thank you for using Experts Exchange.

Regards,

Kyle Santos
Customer Relations
Avatar of Matty
Matty

ASKER

Yes, I still need help. I have not received any help on this so far
Thanks
Avatar of Matty

ASKER

Thanks
Avatar of Matty

ASKER

Please does it mean that no body in your Expert Exchange Forum will be able to solve my issue . Kindly let me know.

Thanks
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.