We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
What's the absolute simplest way to replace my 3 "For..Next" lines and achieve the same result? They're all ".xls" files if that makes it any simpler.
Sub DoItAll() Dim iPath As String, iFile As String, i As Long iPath = "H:\Depts\css\A_ILS & Reliability\Reliability\1-CURRENT\System Reporting\SDAE\KAL\2013\Originals Data Files\330_09~03\" For i = 3 To 16 Workbooks.Open Filename:=iPath & ThisWorkbook.Sheets("Sheet1").Cells(i, 10).Value Next i ThisWorkbook.Activate Sheets("All Files").Activate Call AggregateFiles End Sub
Join the community of 500,000 technology professionals and ask your questions.