I have a question regarding this link, more specific Using a query table
With ActiveSheet.QueryTables.Add(Connection:= _ "TEXT;***C:\Sample.txt***", Destination:=Range("$A$1") _ )
In the example C:\Sample.txt
is entered statically. How would you make this dynamic and let the user select the file?