Rob, this is good, but since this macro will be for my boss who's confused
enough with what I'm doing, I need to keep it simple and within one
application. After much struggle and research, I came up with a way of doing
this programmatically and seamlessly, with the following code:
strSQL = "INSERT INTO [" & strTable & "] " & _
"SELECT * " & _
"FROM [Text;HDR=YES;DATABASE=" & strPath & ";].[" & strFile & "]"
Obviously, strTable, strFile, and strPath are my variables for my table
name, file name of the CSV file, and the path or directory of the CSV file
(even though it says "database"); so the person who might want to use this
will either have put their own variables in here or hard-code the values of
their particular elements.