V
venablito
I use the import text file wizard to bring results created by my
statistical package in .txt files into Excel for formatting and
printing. I would like to make the path to the input .txt file
"relative" to the Excel file, but I do not see how to do this in the
wizard.
The problem is the following: suppose I am collaborating with someone
and send him the .xls file and the .txt file imported. If his
directory structure is not exactly the same as mine, Excel cannot find
the .txt file when he wants to refresh, even though the two files are
in the same directory.
For example, suppose I create the file FormattedResults.xls in c:/
venable/research/importantproject, and this imports the file
RawResults.txt, which is saved in the same directory. Now, if I send
both files to my colleague and he saves them to, for example, c:/
research/project on his computer, when he refreshes the data, Excel
cannot find the .txt file.
What I would like to do is make the text import relative to the
current directory, that is, wherever the Excel file is saved, that's
where it will look.
Is this possible?
I apologize if this has been covered before -- I searched but did not
find anything. Also, please let me know if I can clarify what is going
on.
Thanks in advance!
statistical package in .txt files into Excel for formatting and
printing. I would like to make the path to the input .txt file
"relative" to the Excel file, but I do not see how to do this in the
wizard.
The problem is the following: suppose I am collaborating with someone
and send him the .xls file and the .txt file imported. If his
directory structure is not exactly the same as mine, Excel cannot find
the .txt file when he wants to refresh, even though the two files are
in the same directory.
For example, suppose I create the file FormattedResults.xls in c:/
venable/research/importantproject, and this imports the file
RawResults.txt, which is saved in the same directory. Now, if I send
both files to my colleague and he saves them to, for example, c:/
research/project on his computer, when he refreshes the data, Excel
cannot find the .txt file.
What I would like to do is make the text import relative to the
current directory, that is, wherever the Excel file is saved, that's
where it will look.
Is this possible?
I apologize if this has been covered before -- I searched but did not
find anything. Also, please let me know if I can clarify what is going
on.
Thanks in advance!