Code:
With ActiveSheet.QueryTables.Add(Connection:="TEXT;D:\new\product\1.txt" _
, Destination:=Range("$A$1"))
I am using the above code to append a text file and in the code itself giving the entire path.
without mentioning the current directory path, can i do the appending from the text file available in the current directory,