Your code has this comment after code that looks like what I provided above:
The reason you are getting the error is that there is no table in the worksheet called "tblOld". In fact there are no tables at all.
Your code also refers to
but there is nothing in those cells so the regions are just one cell, and therefore x=1 and y=1. It still doesn't explain your strategy or what you want to happen.
Unfortunately this file does not explain what you need to do. It shows one group of data, and another version after two rows have been added, but none of this explains why you need to convert a table to a range to do any of this, where you have overlapping tables, or what you want your code to do.
Bookmarks