Results 1 to 4 of 4

Insert and resize photos

Threaded View

  1. #1
    Forum Contributor
    Join Date
    02-23-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    133

    Insert and resize photos

    Hello,

    I am new to vba and only know basics. I am not even sure if this can be done via VBA. What i am trying to do is:

    1. I have hundreds of workbooks in a folder -- Same format -- same structure -- same size -- same fonts -- but different data.
    2. I want to insert photographs in the workbook -- Save workbook --- exit.

    Workbook basically is a set of 4 clinical cards for employees of a company. It has basic details like blood group, BP, height, weight, cholesterol etc. All that is done and functional. Each book has 4 cards. What you see in attached workbook is front and back side of a card. It gets printed and folded from center to create a health card of an employee.

    What i want to do is:

    1. I have left empty space in card. K8 to L10.
    2. I have a folder with jpeg images of employees. Images are named on their EMP ID (employee ID) 7868.jpeg, 2423.jpeg etc..and UNIQUE.

    I want to insert photos into these hundreds of workbooks and resize them and fit into

    K8 to L10 empty space (first card)
    K25 to L27 (second) and so on for 4 cards..

    Workbooks are in a folder and named as 1,2,3,4.xlsx etc. I can set path of workbooks and path of pictures.

    If image is not found we can skip for that card. Hmmm For years, what i am doing is, Go to-->inserting image --> drag to the place---> resize---> adjust.
    It's very tedious work for 100s of files every week. Is there anyway to automate this? If so, i will worship VBA for years to come.

    Please find attached workbook.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Resize all photos in a sub folder + add watermark
    By starlev in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-18-2015, 02:40 PM
  2. resize, insert, and arrange multiple photos
    By opusarlo in forum Excel General
    Replies: 1
    Last Post: 02-18-2015, 05:50 PM
  3. Automatically Insert photos
    By EuanL in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-17-2014, 10:43 AM
  4. VBA Insert all Photos from folder - photos not lined up w/ cell borders in older versions
    By jaimelwilson in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-10-2014, 02:26 PM
  5. Insert Photos Macro Help
    By garrett1483 in forum Excel General
    Replies: 0
    Last Post: 07-23-2013, 03:40 AM
  6. Resize and insert multiple photos
    By latausm in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-07-2011, 11:34 AM
  7. Insert multiple photos in excel
    By shanelawler in forum Excel General
    Replies: 0
    Last Post: 03-08-2010, 06:54 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