When data isn’t needed by a dynamic array, you should use Erase or Redim Preserve to discard the data. Erase is used to eliminate an array, while Redim Preserve can make the array smaller.