+ Reply to Thread
Results 1 to 5 of 5

insert one picture into multiple word files

  1. #1
    Forum Contributor
    Join Date
    12-27-2021
    Location
    China
    MS-Off Ver
    Ms office 2019
    Posts
    184

    Exclamation insert one picture into multiple word files

    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.
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: insert one picture into multiple word files

    You could use a macro like:

    Please Login or Register  to view this content.
    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.
    Last edited by macropod; 10-17-2022 at 01:46 AM.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  3. #3
    Forum Contributor
    Join Date
    12-27-2021
    Location
    China
    MS-Off Ver
    Ms office 2019
    Posts
    184

    Re: insert one picture into multiple word files

    Thank you very much for your answer. I'll try the code when I get home tonight. Thanks again.

  4. #4
    Forum Contributor
    Join Date
    12-27-2021
    Location
    China
    MS-Off Ver
    Ms office 2019
    Posts
    184

    Re: insert one picture into multiple word files

    macropod, you are amazing! It works great! Thanks a lot

  5. #5
    Registered User
    Join Date
    11-28-2023
    Location
    india
    MS-Off Ver
    12
    Posts
    1

    Re: insert one picture into multiple word files

    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.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Inserting Picture into Picture Content Control in Word crashes Word
    By atycks in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-07-2015, 09:59 AM
  2. Using Excel VBa to Insert a Picture and add Caption to Word Document (Office2010)
    By DAB257 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-31-2015, 11:23 AM
  3. [SOLVED] Insert picture next to text in Word 2013 document
    By metsmaniac in forum Word Formatting & General
    Replies: 4
    Last Post: 07-11-2014, 03:09 PM
  4. How to insert a picture in the word file?
    By modytrane in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-07-2009, 04:50 PM
  5. how to Insert picture in multiple sheets from 1 drop down?
    By mgreen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-12-2009, 06:13 AM
  6. [SOLVED] Insert same picture in multiple sheets and only change once
    By Mike in forum Excel General
    Replies: 3
    Last Post: 02-07-2006, 11:10 AM
  7. [SOLVED] How do I insert a clip art picture into a text box in word 2003
    By Lindas in forum Excel General
    Replies: 2
    Last Post: 01-26-2005, 01:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1