zapppsr
Board Regular
- Joined
- Aug 19, 2010
- Messages
- 189
I have a spreadsheet linked to a databse which is a txt file and it is at the following adress:
W:\LIDERAN\Demandas_Direcao\PCP\Alocacao\TXT\aloca.txt
I'm looking for a way to refer to de file "aloca.txt" without having to be in that address, but at the same path the spreadsheet is.
For instance, if the spreadsheet is at:
:: C:\Budget
and it is moved to...
:: H:\2012\Balance
with the txt file at the same folder, when I update data, it would look at the new folder root, instead of looking at the whole path it was before.
In short, I need to refer to the txt file and ignore the path, and make Excel look at the same folder the spreadsheet is.
Like using some wild card in the link:
Instead of:
W:\LIDERAN\Demandas_Direcao\PCP\Alocacao\TXT\aloca.txt
something like %aloca.txt
Can you guys help me?
W:\LIDERAN\Demandas_Direcao\PCP\Alocacao\TXT\aloca.txt
I'm looking for a way to refer to de file "aloca.txt" without having to be in that address, but at the same path the spreadsheet is.
For instance, if the spreadsheet is at:
:: C:\Budget
and it is moved to...
:: H:\2012\Balance
with the txt file at the same folder, when I update data, it would look at the new folder root, instead of looking at the whole path it was before.
In short, I need to refer to the txt file and ignore the path, and make Excel look at the same folder the spreadsheet is.
Like using some wild card in the link:
Instead of:
W:\LIDERAN\Demandas_Direcao\PCP\Alocacao\TXT\aloca.txt
something like %aloca.txt
Can you guys help me?