You need to put a value in the array when you define it otherwise you can't add values to it.
So, instead of:Dim NonBlankHolder() As Integer
use:Dim NonBlankHolder(0) As Integer