thank you very much if i want to remove a pictuer from word document can you pleas tell how the macro then looks like ? i appreciate if you make a vedieo for removin pictuer from word document by a macro . thanks in advanced
why in my excel LTSC pro plus 2021, dim pic as picture get error when I run it the code, its says: run-time error 13: type mismatch. can you explain that
@@syahmiltalib1305 It will be work if you use this code on vbs " Sub DeletePicturesInActiveWorkbook() For Each ws In ActiveWorkbook.Worksheets For Each pic In ws.Pictures pic.Delete Next pic Next ws End Sub"
hi first thank you for the nice lesson i have a word document that hase a pictuer . the pictuer is behined text. i wrote a macro that delet this pictuer 1 line macro . sup deletpictuer () activedocument.inlineshapes(1).delete end sup the proplem is if i make the picture normal not behined the text the macro work well and delete the pictuer . aotherwise if it is behined the text the macro give aerror. can you pleas help me solve the proplem. thanks in advanced