Hi there

Curious... This is the sort of thing that would happen if you add a new table when your selection (cursor) is directly below an existing table since this has the effect of appending the existing one. Your object reference "TableObj" would then incluce the whole table, with the original part already at 260, 90, 90 and the new part at the equal default sizes, hence the message.

That said, I don't see how that can happen with your code as posted and I just tested it running from Excel without errors

The only thing I can think of is that there's something happening in the
'and so forth...
part that you didn't post that's causing an issue ???