Thanks SkipVought, the data import is how I normally pull the data in. I have several users that are not Excel savvy so I am trying to make the spreadsheet very user friendly for them by prompting them to find the file then importing the information.
I used the macro recorder, and got this code however, it sets a fixed location for the file.
Range("A1").Select
With ActiveSheet.QueryTables.Add(Connection:= _
"TEXT;C:\Documents and Settings\Desktop\1852793_rev_1 txt.1", _
Destination:=Range("A1"))
Can I replace the c:\documents and setting\desktop\1852793_rev_1 txt.1 with a generic command that allows the user to browse for a target file?
While I am at it, the target file will always have a product number and rev number in the name. I would like to extract that information from the filename and use it later in the process to populate two cells in the spreadsheet. Right now, I have the user entering the information manually, but of course that has other problems ie keystroke errors, etc.