Hi all,
Im trying do delete a image in excel.
I tried using “invoke code” with no succes.
Does anyone have a solution for this problem
1 Like
Invoke code doesn’t work.
Please use Invoke VBA to delete the pictures from the excel sheet.
Regards,
Karthik Byggari
1 Like
Hi @athevan96,
Here is the solution to your requirement via invoke Code
Delete_image.zip (298.0 KB)
Regards
Sanjay
1 Like
it does delete the image but i have to click ok in progress is there a way to avoid this
1 Like
What am i suppose to fill in to delete an image?
1 Like
Hi @athevan96
please remove the line inside for each
System.windows.messagebox.show()
Regards
Sanjay
1 Like
Hi Sanjay,
It worked but i can’t save it know
Do you have solution to save and close the excel workbook
1 Like
@athevan96,
Write the below code after the next keywords
Wb.save()
Excel.quit()
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.