I am having problems running this code for displaying pictures in excel. I am a beginner, so I must be doing something wrong. When I run it I get the message "Run-time error '1004': Unable to get the Insert property of the Pictures class". When I depurate, excel marks this line that says: "With image_column.Worksheet.Pictures.Insert(url_column.Cells(i).Value)"
This is the code:
My excel file looks like this![]()
Please Login or Register to view this content.
\1
I have tried also another code for importing the pictures and display them. I created the folder IMAGENES EXCEL in C:
When I run it, I get the same error. and when I depurate I get this line marked: "With ActiveSheet.Pictures.Insert(PicPath & IconName & "1" & ".jpg")".
If anyone could help me I would be very grateful.![]()
Please Login or Register to view this content.
Bookmarks