Deleting a range from a table with merged cells <p>Basically, what I'm trying to accomplish is this: Delete all rows from a table starting from where the cursor is in the table to the end of the table.</p> <p>The problem is that this table contains vertically merged cells, so when I try to do something like this:</p> <pre><code>For i = Selection.Tables(1).Rows.Count To Selection.Cells(1).RowIndex Step -1 Selection.Tables(1).Rows(i).Delete Next </code></pre> <p>It complains that individual rows cannot be accessed because the table contains vertically merged cells.</p> <p>I've also tried selecting the range first, and then deleting the selection. But I couldn't get the range definition right; it always complained that there was an improperly defined parameter.</p>