I have a table in Excel that when users add data after the table, the data doesn\'t belong to the table.
I\'ve created a code that can be executed to extend the table. T
You can change Excel setting to do that :
File > Options > Proofing > AutoCorrect Options > AutoFormat As You Type
and check Include new rows and columns in table
Or run this line only one time:
Application.AutoCorrect.AutoExpandListRange = True
Hey I believe this should help!
good luck .
http://www.tushar-mehta.com/publish_train/xl_vba_cases/0101%20Create%20a%20self%20adjusting%20range.htm
You can put your code as a handler for the Worksheet_Change event.
Arrtice on MSDN