thorhansen
New Member
- Joined
- Sep 15, 2014
- Messages
- 3
Hi everyone
I have used this forum many times, but never posted. So here goes
I have the following code for CutCopyMode:
Application.CutCopyMode = False
With ActiveSheet.QueryTables.Add(Connection:= _
"TEXT;\\path1\folder1\subfolder\file1.txt", Destination:=Range("$A$1"))
I would like to link the path and the file name to two different cells in Excel. How would I do that?
Regards
Thor
I have used this forum many times, but never posted. So here goes
I have the following code for CutCopyMode:
Application.CutCopyMode = False
With ActiveSheet.QueryTables.Add(Connection:= _
"TEXT;\\path1\folder1\subfolder\file1.txt", Destination:=Range("$A$1"))
I would like to link the path and the file name to two different cells in Excel. How would I do that?
Regards
Thor