Deleting Elements in an Array if Element is a Certain value VBA

后端 未结 8 1429
小蘑菇
小蘑菇 2020-11-27 20:14

I have a global array, prLst() that can of variable length. It takes in numbers as strings \"1\" to Ubound(prLst). However, when the

8条回答
  •  Happy的楠姐
    2020-11-27 20:44

    When creating the array, why not just skip over the 0s and save yourself the time of having to worry about them later? As mentioned above, arrays are not well-suited for deletion.

提交回复
热议问题