I am having an issue passing the variable "i" in the FOR statement. In essence each time the message box appears it should display "one, two, three and etc".
I have tried numerous combinations but have come up blank.
Sub Test_One()
Dim i As Integer
oFile1 = "One"
oFile2 = "Two"
oFile3 = "Three"
oFile4 = "Four"
oFile5 = "Five"
For i = 1 To 5
MsgBox "oFile" & i
Next i
End Sub
Thanks,
John



