I'm trying to sort through and import a number of bar-delimited text files into an Excel spreadsheet, and running into trouble with the Dir function.
My code follows:
Option Explicit
Dim wbMonthly, wbYTD As Workbook
Dim strFileName, strType, strPrd, strFile As String
Dim lngBlank As Long...