Hello

I am using vba in excel. I am trying to do the following seeing instr is not working I am writing my own program. Just I am having an issue with this
dynamic array.

here is a clip of my code

Code:
    Dim mystring1() As String ' the serial number field
    Dim mystring2() As String 'the data field

    Dim searchfield As Integer, searchbyfield As Integer 'hold length
...