Hello Experts,
I have to deal with string arrays that store text. I need info on copying, comparing, appending arrays. Also on passing arrays as parameters to subs or functions. Could someone please point to the right source where I can get to this info quickly without having to browse through many screens.
In addition to this I have some questions:
ı have to find the duplicates of values in an array. Here is the code that I use.
It works but is not performing well. Are there more efficient ways of doing this?
I have to deal with string arrays that store text. I need info on copying, comparing, appending arrays. Also on passing arrays as parameters to subs or functions. Could someone please point to the right source where I can get to this info quickly without having to browse through many screens.
In addition to this I have some questions:
ı have to find the duplicates of values in an array. Here is the code that I use.
Code:
Sub FindDuplicates()
Dim I As Integer, J As Integer, IEND As Integer, text() As String
ReDim text(IEND)
For I = 1 To IEND - 1
For J = I + 1 To IEND
If text(I) = text(J) Then text(J) = ""
Next J
Next I
End Sub