![]() |
#2
|
||||
|
||||
![]()
You really shouldn't be working with windows and even more so with selections. You also have a great deal of redundant code. Even the copy/paste processes could be replaced with the FormattedText method.
See, for example: https://www.msofficeforums.com/word-...-multiple.html https://www.msofficeforums.com/word-...n-strings.html https://www.msofficeforums.com/word-...-document.html https://www.msofficeforums.com/word-...documents.html https://www.msofficeforums.com/word-...ts-length.html
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Do Loop Breaking Up. | donlincolnmsof | Word VBA | 6 | 12-29-2021 02:52 PM |
![]() |
WJSwanepoel | Word VBA | 3 | 03-30-2021 11:35 PM |
![]() |
nielsgeode | Word | 13 | 08-18-2017 11:48 PM |
Equation non-breaking | mohsen.amiri | Word | 2 | 02-04-2017 12:03 AM |
Non-breaking items | judicial85 | Word | 7 | 02-23-2012 07:12 PM |