![]() |
|
#1
|
|||
|
|||
![]()
Since this is a VBA forum, perhaps the OP needs a VBA solution:
Code:
Sub ScratchMacro() 'A basic Word macro coded by Greg Maxey If Selection.Paragraphs(1).Range.Words.Count > 2000 Then Selection.InsertParagraph End If End Sub |
#2
|
||||
|
||||
![]()
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 |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to Split Slide | Akip Tsaqif | PowerPoint | 0 | 09-07-2014 10:50 PM |
How to split .pst file | annabrown8812 | Outlook | 1 | 10-03-2013 04:27 AM |
![]() |
icloudy | Word | 1 | 12-09-2012 03:49 PM |
Split a task | fridos | Project | 2 | 05-30-2011 11:19 AM |