Forum Discussion
Alina
12 years agoOccasional Contributor
Hi Jeff,
Thanks for your help, im afraid I still cant get it working.
I have a list of four folders in a path.
I want to create a For Next Loop that loops through the list of folders..
and Return the Folder name. Thats all :-)
Its quite simple but I'm making it so complicated. The code I have is below:
Please can someone help in getting it working:
Thanks for your help, im afraid I still cant get it working.
I have a list of four folders in a path.
I want to create a For Next Loop that loops through the list of folders..
and Return the Folder name. Thats all :-)
Its quite simple but I'm making it so complicated. The code I have is below:
Please can someone help in getting it working:
Sub TestArray()
Dim ItemList(5)
Dim i
Dim j
Dim size
ItemList(0) = "name1"
ItemList(1) = "name2"
ItemList(2) = "name3"
ItemList(3) = "name4"
set size = UBound(ItemList())
Call Aliases.Explorer.Window.SetFocus
For i = 0 To size
Log.Message "The Item names are" & ItemList(i)
' For j = 0 To Table.
' Log.Message (ItemList)
' Next j
Next
End Sub