#1
|
|||
|
|||
Append text at the end of text lines (not after images) only.
Nice day.
How to append '<BR>' at end of each and every alternate line but not after image lines. Odd lines contain text content (need to append). Even lines contain image content (not to append). Image attached for reference. Sample file attached. Help appreciated. Thank you. |
#2
|
||||
|
||||
Since there are no line-breaks after your images, all you need is an ordinary Find/Replace, where:
Find = ^l Replace = <BR>^l No code required.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
Quote:
Kudos to you!! Thanks so much. |
Tags |
append, macro |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Append values from a MS Word form to an existing CSV or text file | markiko | Word VBA | 1 | 07-11-2019 09:58 PM |
Macro to append text to end of paragraphs/lines where target text is found. | moorea21 | Word VBA | 8 | 06-20-2018 12:52 AM |
How do I programmatically insert and append the text from AutoText 0002 to the end of the existing t | erik816 | Word VBA | 1 | 03-09-2016 12:48 AM |
Append text to a sentence containing specific word | dgp | Word VBA | 3 | 02-28-2014 10:38 PM |
Append text to a cell with color | gvdm | Excel | 1 | 04-17-2012 10:21 AM |