Hello all,
I'm trying to figure out how to do this properly, but making functional loops seems to be my VBA Kryptonite. I have this code:
that takes the number entered into the user form and places it in "A1" then runs the remaining code.
What I am trying to figure out how to do is to look at the "FilePaths" sheet and take each number that appears in column b (range 2-1200) and enter it into "Summary" - "A1" then run the code, then take the next value and do the same thing (essentially running the code up to 1200 times if every row in column B had a value).
I'm trying to figure out how to do this properly, but making functional loops seems to be my VBA Kryptonite. I have this code:
VBA Code:
Private Sub CommandButton2_Click()
Sheets("Summary").Range("A1").Value = FEP.TextBox1.Value
AllBanks
End Sub
What I am trying to figure out how to do is to look at the "FilePaths" sheet and take each number that appears in column b (range 2-1200) and enter it into "Summary" - "A1" then run the code, then take the next value and do the same thing (essentially running the code up to 1200 times if every row in column B had a value).