|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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 |
#2
|
||||
|
||||
Or you could use Photo Gallery Add-in Template
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#3
|
||||
|
||||
Your thread title refers to 'retrieving Captions from Excel Sheet', but nothing in the code refers to Excel. Moreover, the original code has been used thousands of times without difficulty. How are you using it?
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Tags |
#addpic.#pictures |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Macro for Inserting Multiple Photos from Excel List into Word | henhelm | Word VBA | 15 | 02-07-2023 05:35 PM |
Macro to access info from Excel spreadsheet and populate Word doc with text, photos, and captions | henhelm | Word VBA | 4 | 06-27-2019 08:49 PM |
Inserting multiple photos at a specific size | Mr M | Drawing and Graphics | 2 | 06-20-2018 08:07 PM |
Excel Macro: Multiple Search and Post in Excel Sheet | andxie | Excel Programming | 10 | 05-31-2018 05:21 PM |
Inserting / formatting multiple photos into Word doc. | Jeremiahts | Drawing and Graphics | 1 | 03-23-2011 07:33 PM |