chrisjk, I understand partly but any chance you could show me how to work it in my code?

I've tried this below but I get a Subscrit out of range error!
VB Code:
  1. Private Sub Image2_MouseDown(Index As Integer, Button As Integer, Shift As Integer, x As Single, y As Single)
  2. Dim Image2() As String
  3. Dim NewArray() As String
  4. Dim intCount As Long
  5.  
  6. If Button = 2 Then
  7. intCount = 0
  8. ReDim NewArray(UBound(Image2) - 1)
  9.  
  10. For thm = 0 To UBound(Image2)
  11.     If thm <> Index Then
  12.         NewArray(intCount) = Image2(thm)
  13.         intCount = intCount + 1
  14.     End If
  15. Next thm
  16. End If
  17. End Sub