Thank you, I will keep an eye on this.
I have another question. The text files that I am uploading are all housed in separate files, so I can't select all the files at once. I am currently loading all the file names in a given folder and the files in any subfolders in a temporary table labeled Files2. I set up a query, titled "qryENAForLoop", to pull the text files only from that list. There is only one column in that query, labeled "ENAPath", and it includes the full file path (i.e. C:\Report_Data\Log Parser 8-10\MM9662\ENAProcessNotes.txt"). I would like to use that query and set up a loop to go through all of the files that need uploaded, instead of using the "BrowseFile" function. I thought I could figure this one out on my own, but again, it isn't working. I'm not sure if the loop needs to be in the GetDataFromTextFile function or if it needs to be on the form. I thought I could use a For Each Loop and set the query as an array variable. I can't seem to get the array set up to Access's satisfaction. I tried this DIM strFilePath () as String = "qryENAForLoop". That didn't work, so I tried DIM strFilePath () as String = [Queries]![qryENAForLoop]![ENAPath]. That didn't work either, and I don't know what else to try.
What do you suggest? Is this even possible to accomplish?