Please mark the answer as the solution if this answered your question such that other people can see your question is already answered. This helps the use the forum
Glad I could help.
Two dimensional arrays have fixed dimensions. You cannot delete elements.
If you need to change the dimensions, you need to use a table instead.