View Single Post
 
Old 10-03-2014, 09:46 PM
gmayor's Avatar
gmayor gmayor is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Quote:
Originally Posted by gmaxey View Post
Since this is a VBA forum, perhaps the OP needs a VBA solution:
Undoubtedly, but it would need a lot more information in order to provide that. Is the paragraph 2000 words or does it need to be split at 2000 words?

What constitutes a 'word' and where in relation to that 2000th word should the text (I hesitate to call it a paragraph) be split? At the end of the 2000th word? At the end of the current sentence? At the beginning of the current sentence? Does the text even have sentences?

If the former, the task is impossible. You cannot produce a grammatically correct text by splitting a larger text using VBA. A paragraph is more than simply an arbitrarily broken piece of text. Hence my earlier reply.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote