could you show me a simple example? i dont know anything about coding, but if i see an example ill be able to decipher it.

say a table is like... B2:F4, which would be a 3 row five column table. Column b would have values 1, 2, and 3 for B2, B3, B4. Say A1 is a value (this case it would be 3). If I change it to 5, the table is then B2:F6, and column B reads 1, 2, 3, 4, 5..

If i change A1 back to 3, the table reverts back and deletes the last 2 rows.

can you show me a simple example and give me some code to just plug in and change depending on the table location, etc.