How to remove a specific item from an array in vba?

Asked

Viewed 7 times

0

In my code I have an array, and when performing a validation (the ranges cannot be greater than 6) I would need to exclude from the array the items that do not meet this validation.

    If tempos(t) > 0 And tempos(t + 1) > 0 Then
        If tempos(t + 1) - tempos(t) > 6 Then
            Debug.Print (tempos(t + 1))
        End If
    End If

My array times would need to contain only the values passed in the validations.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.