i think your error might be in the fact that i becomes too big. use the list count but subtract one as in below.
For i = 0 To ListBox.ListCount - 1
rename FileList.list(i).FileName ListBox.List(i)
Next i
|
Results 1 to 5 of 5
Thread: rename filesThreaded View
|
Click Here to Expand Forum to Full Width |