Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-03-2017, 03:28 PM
Annie Wordy Annie Wordy is offline A Macro to break lines automatically after specific number of characters Windows 8 A Macro to break lines automatically after specific number of characters Office 2007
Novice
A Macro to break lines automatically after specific number of characters
 
Join Date: Nov 2017
Posts: 1
Annie Wordy is on a distinguished road
Default A Macro to break lines automatically after specific number of characters

Hello! I am wondering if there are any macro for MS Word that can break lines automatically after specific number of words on each linee (like 8 words) or at the specific length(e.g. at position 20 by MS Word ruler), so I don't need to press Enter all over the passage.

I tried to use to indent features of MS Word.
But that is going to change the length of each line only in the MS Word.
When I copy the text to other software. The number of words/length of each line just doesn't change.

It will be greatly appreciated if anyone can help!


Thanks!!
Reply With Quote
  #2  
Old 11-03-2017, 08:36 PM
macropod's Avatar
macropod macropod is offline A Macro to break lines automatically after specific number of characters Windows 7 64bit A Macro to break lines automatically after specific number of characters Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You don't need a macro for what you've described. You could do it with a fairly simple wildcard Find/Replace, where:
Find = [^1-^255]{50}
Replace = ^&^l
Simply change the 50 to whatever character count you want to use.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
A Macro to break lines automatically after specific number of characters How do I Remove A Specific Amount of Characters from Lines in a Document? tatihulot Word 5 01-22-2016 05:55 AM
A Macro to break lines automatically after specific number of characters Macro for word to add page break and specific text to end of document pizzaman1 Word VBA 6 11-14-2014 11:25 PM
Macro Needed to bold specific lines and Macro to turn into CSV anewteacher Word VBA 1 05-28-2014 03:59 PM
Add Break at end of doc, control display of non-printable characters RoMu Word VBA 6 03-06-2014 04:24 AM
A Macro to break lines automatically after specific number of characters Macro for highlighting specific number of words icsjohn Word VBA 2 12-07-2011 06:44 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:51 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft