+ Reply to Thread
Results 1 to 2 of 2

import picture in specific cell if filename = cellnumber

  1. #1
    Forum Contributor
    Join Date
    03-24-2009
    Location
    Vietnam
    MS-Off Ver
    Excel 2010
    Posts
    382

    import picture in specific cell if filename = cellnumber

    Hello!

    i am using this code to import pictures into my worksheet. After they are imported, the pictures are cropped and then placed in cell B3 and downward (B3, B4, B5, etc.)
    Please Login or Register  to view this content.
    However, the code is running perfectly fine, but the whole process which this macro is implemented is too complicated. Now, I would like to know if someone could help me please to arrange that the macro to do the following:
    1. impot the pictures (already done by macro)
    2. crop the pictures (already done by macro)
    3. I have a key number starting from A3 downwards (1, 2, 3, etc) and if the FILENAME of the picture (1.bmp, 2.bmp, 3.bmp) is the same as this key number, insert the picture in column B of that row.

    Hope someone understands what I mean!
    Thanks a lot!!!!!
    A2k

  2. #2
    Forum Contributor
    Join Date
    03-24-2009
    Location
    Vietnam
    MS-Off Ver
    Excel 2010
    Posts
    382

    Re: import picture in specific cell if filename = cellnumber

    no idea...?

    basically this is a matter of comparing value in A3 (and onwards) and the filename. If the same, import, if not, do not.

    Any clues anyone?
    thanks!
    A2k

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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