View Single Post
 
Old 06-24-2021, 01:23 PM
macaronipasta macaronipasta is offline Windows 10 Office 2019
Novice
 
Join Date: Jun 2021
Posts: 1
macaronipasta is on a distinguished road
Default Macro for Inserting Multiple Photos into Word but retrieving Captions from Excel Sheet

Im using macro made by user macropod in this topic https://www.msofficeforums.com/drawi...ument-all.html

but when I want use it there is error Run-time error '5251': This is not a valid action for the end of a row. When I press Debug it refers to line
Code:
.Characters.Last.Previous = vbNullString
in macro. I can't find the solution. Can you help me?
Reply With Quote