![]() |
|
|
|
#1
|
||||
|
||||
|
For example:
Code:
Dim s As Long, i As Long
With ActiveDocument
For s = 1 To .Sections.Count - 1
With Sections(s).Range.Tables(2)
For i = .Rows.Count To 2 Step -1
If Len(.Cell(i, 3).Range.Text) = 2 And Len(.Cell(i, 9).Range.Text) = 2 Then .Rows(i).Delete
Next i
End With
Next
End With
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to separate mail merge tables | Tesla | Mail Merge | 1 | 05-05-2022 06:55 AM |
Export .csv file to Word for Mail Merge?
|
Jshopping | Mail Merge | 3 | 09-22-2018 11:04 PM |
| Update & Unlink Specific Merge Field in Word Doc from Mail Merge - Excel VBA | RMerckling | Mail Merge | 16 | 05-17-2018 05:19 PM |
how do i ad a specific pdf file to a mail merge?
|
mseibel | Mail Merge | 1 | 08-28-2012 07:53 PM |
specific mail merge
|
cmccabe | Mail Merge | 3 | 06-14-2012 04:12 PM |