Buttons = Array As Button(Button1, Button2, Button3, Button4, Button5, _
Button6, Button7, Button8, Button9, Button10)
For i = 0 To Gx -1
Buttons(i).text = GrabName(i).Substring2(11,13) & "/" & GrabName(i).Substring2(13,15) & "/" &
GrabName(i).Substring2(15,17) & " " & GrabName(i).Substring2(17,24) 'parse the file date
Buttons(i).Tag = GrabName(i) 'save the file name
Next