Hello, I have a logo image that needs to be inserted into more than 100 word files in the same location, and the image needs to be inserted below the text. How can I do this? Thank you.
Hello, I have a logo image that needs to be inserted into more than 100 word files in the same location, and the image needs to be inserted below the text. How can I do this? Thank you.
You could use a macro like:
The above code will add your logo to all documents in the selected folder containing 'Company Name' in the document body, where the logo - named 'bp.png' - is in the same folder as the document you run the macro from. The logo's height and width are set via the SngWdth value, though you could use different values for SngWdth and SngHght.Please Login or Register to view this content.
Last edited by macropod; 10-17-2022 at 01:46 AM.
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Thank you very much for your answer. I'll try the code when I get home tonight. Thanks again.
macropod, you are amazing! It works great! Thanks a lot
Hello Macropod:
Thanks for the macro. I am looking for a similar code. Suppose my word file has a header. The header is a table with 3 columns with 1 or 2 rows. And in one cell I have a word 'Company Name',and I need to replace 'Company Name' by 'bp.png'. The bp.png can fit into that cell, which has the word 'Company Name' without changing the aspect ration of bp.png.
Thanks for your help.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks