at present i am using the following code to append a text file abc.txt into an excel file and here i am giving the entire path.
without mentioning the path, is there any way to append a text file say abc.txt which is present in the same folder of the excel file
without mentioning the path, is there any way to append a text file say abc.txt which is present in the same folder of the excel file
Code:
With ActiveSheet.QueryTables.Add(Connection:="TEXT;e:\new\product\abc.txt" _
, Destination:=Range("$A$1"))