Hello,
I need help in coding this task please.
I have a column in a excel file with the image of products, like this:
COLUMN D
0600-01BK_D.jpg
0600-06BK_D.jpg
0600-77BK_D.jpg
0770-10TC_D.jpg
0770-15BK_D.jpg
0770-77BK_D.jpg
0800-10BK_D.jpg
1000-27BK_D-1.jpg
1015-03SL_D.jpg
I also have a folder of images where are located the images of the products listed in the excel file. Some products have more than one image, for example, the first product on the excel file have the following 3 images:
0600-01BK_D.jpg
0600-01WH_D-1.jpg
0600-01PK_D-2.jpg
Other products may only have 1 image, and the folder also contains images not indicated on the xls file.
I need to move to another folder all the images for each product listed on the excel file, based on the criteria of first characters. I need this criteria be variable; some listing is based on the first 4 characters, others on the first 5 characters, the example explained here use 7 characters. Finally, the files were not found, I need highlight in the excel file.
Could anyone help me on this please?
Thanks in advance!!!
Bookmarks