Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am probably overlooking something really obvious. I have looked through
the online Excel & VB prog reference and it looks right to me. The following code generates a "Compile Error - For Each may only iterate over a collection object or an array.": Dim MyFiles As String, I As Variant MyFiles = Array("Consolidated.xls", "CAN1a.xls", _ "CAN1b.xls", "CAN1c.xls") For Each I In MyFiles Thanks for the help. Nick |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
3D Array Problem | Excel Worksheet Functions | |||
Array problem, I think.. | Excel Worksheet Functions | |||
Array problem - TIA | Excel Worksheet Functions | |||
Array Problem | Excel Programming | |||
Array Problem, Help Please. | Excel Programming |