I'm having trouble with my macro and I feel like I'm not seeing things clearly anymore, any help is helpful, especially with the idea of looping
1. Prompt user for folder
(I have this done and I stored it as MyDir as a string)
2. Folder contains image files with names that are found in a cell in a particular sheet
(So imageABC.emf has a sheet Apples which contains a cell that =imageABC.emf)
3. After picking up the file name imageABC.emf, the macro looks through the active workbook for the cell containing that value, and inserts the file "in" the cell.
4. Then it loops back and repeats the process for the rest of the folder contents. If the file name is not found in the workbook, it's skipped (or msgbox alert) and continues with the rest
Thanks in advance. I will post what I have as soon as I charge my laptop
1. Prompt user for folder
(I have this done and I stored it as MyDir as a string)
2. Folder contains image files with names that are found in a cell in a particular sheet
(So imageABC.emf has a sheet Apples which contains a cell that =imageABC.emf)
3. After picking up the file name imageABC.emf, the macro looks through the active workbook for the cell containing that value, and inserts the file "in" the cell.
4. Then it loops back and repeats the process for the rest of the folder contents. If the file name is not found in the workbook, it's skipped (or msgbox alert) and continues with the rest
Thanks in advance. I will post what I have as soon as I charge my laptop