The name should match the filename in the image. The following shapes are imported into a photo using the SaveAsPicture macro: — Box — Circle — Ellipse Save all images from your Excel worksheet — Growth Oct 15, 2023 — Excel has a function to save all images in a range so that their corresponding .jpg could be saved and downloaded to any computer. To import these, the code could be written as: function ImportImages() : range = Worksheet1. Range(“A3”) range. EntireRow. Value = “A3.jpg” worksheet2. Name = “SaveThePhotoInTheCellAsJPG()” worksheet0. Cells(0) = “A1:JPG” worksheet1. Range (1, 2) = range Dim BMP As Bitmap CNT As Integer If Not Worksheets(2). Sort Then Worksheets(2). Sort = False 'Make sure each row is in order Range(2, 1) = Cells(1, 1) 'Copy the first few rows of the table. Range(2). Copy range(2, 1) = Worksheets(2). Range(“A4”) Worksheet2. Range(“A4”). Copy range(“A4”). Value = “A3.jpg” 'If it is not the same, create a new worksheet Dim cells As Long Cells(1, 2). Value = Cells(1, 1) 'Copy the first few rows of the table to the newly created worksheet cells = Worksheets(2). Range(“A4”) Cells(1, 2). Copy cells = Cells(1, 2) 'If cells A2:A3 don't have a “A3.jpg” name, just make one Worksheet2. Range(“A4”). Copy range(“A4”) = Cells(1, 2) 'Copy the cells from the old worksheet into a new one. 'I assume these are the cells in the rightmost column. cells = Cells(1, 2) 'If the name in the range “A4” doesn't match one of the .jpg files, create a new worksheet Cells(1, 5). Value = Cells(1, 2) Cells(1, 5). Copy cells = Cells(1, 5) Worksheet1.