I have the following code to open an Excel97 file with data imported from a Labview Data Acquisition program. It works beautifully to open the file, however, (There is ALWAYS an HOWEVER), I want to be able to prompt for the filename. In this case it is 092601, which will be the date, and allow the user to enter this. With all the existing code staying the same. I know I can name the filename a variable but with the 10Tank2_ portion being constant and only the date changing. Any ideas?!?!
Workbooks.OpenText FileName:="G:\QAProdDataAcq\10Tank2_092601.xls", Origin _
:=xlWindows, StartRow:=1, DataType:=xlDelimited, TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=True, Semicolon:=False Comma:=False, Space:=False, Other:=False, FieldInfo:=Array(Array(1, 1), Array(2, 1), Array(3, 1), Array(4, 1))
Thanks for any ideas,
Bsimm GO TITANS
Workbooks.OpenText FileName:="G:\QAProdDataAcq\10Tank2_092601.xls", Origin _
:=xlWindows, StartRow:=1, DataType:=xlDelimited, TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=True, Semicolon:=False Comma:=False, Space:=False, Other:=False, FieldInfo:=Array(Array(1, 1), Array(2, 1), Array(3, 1), Array(4, 1))
Thanks for any ideas,
Bsimm GO TITANS