I have a range of cells, Range(A1:Z1), that will contain nonzero numerical entries. Entries will be placed in the cells starting in A1 and progressing towards Z1 with no empty cells in between. The number of entries will vary; empty cells will be at the end. I want to read the cells with entries into a VBA array and count how many entries were read.
I believe reading with On Error can do it but I’m under the impression there may be something more succinct/direct/specific. I’m sure this has been answered in previous threads. Unfortunately, my searches for them were fruitless. Would someone please direct to a couple of threads that discuss this topic.
Thank you.
I believe reading with On Error can do it but I’m under the impression there may be something more succinct/direct/specific. I’m sure this has been answered in previous threads. Unfortunately, my searches for them were fruitless. Would someone please direct to a couple of threads that discuss this topic.
Thank you.