View Single Post
 
Old 03-31-2018, 02:55 AM
slaycock slaycock is offline Windows 7 64bit Office 2016
Expert
 
Join Date: Sep 2013
Posts: 256
slaycock is on a distinguished road
Default

You were very close to a solution by the use of the count property. You just needed to apply it to the table range rather than count rows.

Code:
Sub process_table(this_table As Word.Table)

Dim a_range As Word.Range

    Set a_range = this_table.Range

    Do While a_range.Tables.Count > 0
    
        'Put your code here
        
    Loop
    
End Sub
Reply With Quote