![]() |
|
#3
|
||||
|
||||
|
To delete duplicate rows, you could insert:
Code:
For i = .Rows.Count To 2 Step -1
If .Rows(i).Range.Text = .Rows(i - 1).Range.Text Then .Rows(i).Delete
Next
.Sort
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sorting Index According to Page Numbers | mohsen.amiri | Word | 14 | 06-25-2015 09:50 PM |
Sorting a mail merge by a specific number in the document
|
redzan | Mail Merge | 4 | 05-17-2013 09:04 AM |
| How do I refer to page numbers, when the numbers change as I prepare the document? | StevenD | Word | 5 | 11-29-2012 12:52 AM |
| Words in my document were converted to numbers???? | MikeD23 | Word | 1 | 08-26-2012 11:09 AM |
Sorting paragraph numbers
|
CommDude | Excel | 1 | 01-02-2011 04:38 PM |