=Table2146383[[#This Row],[TPT Value]]-Table2146383[[#This Row],

So it seems you can get some messy names if you are copying tables in Excel 2007.

Cleaned it up with this:

   For Each lo In ws.ListObjects
   lo.Name = “DataTable” & (lo.Range.Cells(1, 1).Column / 10)

I have no idea of the naming/numbering logic, but it reminds me of the old VBA module bug, where the numbers increased geometrically until they overflowed and the workbook was corrupted. I didnt try and push the tables the same way – I need this workbook to work.



Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: