You could write some logic for it:And then, you could have another function that would shift all of them down, etc.VB Code:
Function CheckColumns(NumColumns As Byte, NumRows As Byte) Dim I As Byte Dim J As Byte For I = 0 To NumColumns For J = 0 To NumRows 'check here Next J Next I End Function




Reply With Quote