excel - How to add a picture from a file to the header of a Word document -
excel - How to add a picture from a file to the header of a Word document -
i have been trying add together header image word document create vba running in excel.
i set word document , utilize statement:
set applword = new word.application applword.visible = true set docword = applword.documents.add docword.sections(1).headers(wbheaderfooterprimary).range.inlineshapes.addpicture filename:= _ "c:\users\folder\picture.png"
but maintain getting runtime error 5941
.
i have tried , not find fix.
looking kind of help on solution problem!
excel vba excel-vba
Comments
Post a Comment