![]() |
|
|
|
#1
|
||||
|
||||
|
Simple - have your macro:
1. Mark all content as hidden. 2. Find the text you want to preserve and unhide it 3. Find and delete all hidden text.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#2
|
|||
|
|||
|
Quote:
Quote:
For example, let's say I have this simple text Quote:
Code:
MyString = "The quick brown fox jumps over the lazy dog" Debug.Print Mid(MyString, 11, 31 - 11) |
|
#3
|
||||
|
||||
|
Which is exactly what the process I described will achieve. Read point 3.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#4
|
|||
|
|||
|
My Apologies. I was editing my reply. As I mentioned in my previous post
Quote:
Thanks again for patiently helping me out Paul. |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Choose multiple start and end position of window in a row... | Ganesh Kumar | Excel | 9 | 04-01-2019 08:26 AM |
| Help with Formula to extracting text from text string | Haha88 | Excel | 7 | 01-13-2019 01:33 AM |
Help with Formula to extracting text from text string
|
Haha88 | Excel | 9 | 02-05-2018 01:04 AM |
Start from the previous position
|
Dimsok | Word VBA | 7 | 09-14-2014 06:07 AM |
| Justify Paragraph Start position with VBA | jeff_kaufman | Word VBA | 2 | 11-09-2013 12:15 PM |