#1
|
|||
|
|||
Word VBA Break after specific Character length
Hi Guys,
i hope y'all r good. Im looking for a Word VBA which can do: - Do a Break (go to the next line) after a specific Character length (lets say 50 Characters). - If the last Character in the line is not empy (so its a word, wich i dont wanna divide), put the whole last word in to the next line. - If the current page got 14 lines, go to the next Page. I've found: https://www.msofficeforums.com/word-...ery-500-a.html which helped me for the 50 length part, but not for the other 2 parts im looking for. It's my very first time doing a VBA-Macro and i just managed to do the break-part after 50 Characters (But just copied a Code from this Forum) I hope u guys still active and can help me, im really desperate and couldnt find any solution. Kind regards and greetings from Germany, Simon |
Tags |
break, characters, vba word |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to shorten English words of specific length by macro? | Emby | Word VBA | 4 | 10-16-2022 11:25 PM |
Replacing font for a specific character | wagicz | PowerPoint | 1 | 03-16-2021 03:13 PM |
Search for lines that DO NOT have specific character | knpaddac | Word | 1 | 01-14-2019 01:16 PM |
How can select from a specific character to another character | mohsen.amiri | Word | 2 | 02-19-2015 11:38 PM |
Macro for word to add page break and specific text to end of document | pizzaman1 | Word VBA | 6 | 11-14-2014 11:25 PM |