I have the following formula in my spread sheet:
=HYPERLINK(env("CC")&"\photos\"&A1480&".pdf","photos\"&A1480&".pdf")
I would like to eliminate the use of the Environment variable CC in this formula because it makes portability of the spread sheet somewhat difficult - not everyone is aware of Environment variables or wants to insert them and reboot their system.
The root directory for my spread sheet is the directory above \photos so I ought to be able to use the Related Documents default location - this makes life very easy. However I want to be able to keep the reference to the value contained in (in this example) cell A1480 since it contains the first part of the name of the file I wish to link to (I don't think it is relevant but I'll mention it just in case - the Hyperlink formula resides in another cell in row 1480). I've tried all sorts of combinations of ", !, $ and & but I just don't seem to be able to generate a valid Hyperlink formula that eliminates the need for environment variables yet retains the reference to the cell. If I can achieve this it makes my spread sheet very portable and it also allows me to copy and paste this formula across many rows, thus saving a lot of work. Can anyone help?
=HYPERLINK(env("CC")&"\photos\"&A1480&".pdf","photos\"&A1480&".pdf")
I would like to eliminate the use of the Environment variable CC in this formula because it makes portability of the spread sheet somewhat difficult - not everyone is aware of Environment variables or wants to insert them and reboot their system.
The root directory for my spread sheet is the directory above \photos so I ought to be able to use the Related Documents default location - this makes life very easy. However I want to be able to keep the reference to the value contained in (in this example) cell A1480 since it contains the first part of the name of the file I wish to link to (I don't think it is relevant but I'll mention it just in case - the Hyperlink formula resides in another cell in row 1480). I've tried all sorts of combinations of ", !, $ and & but I just don't seem to be able to generate a valid Hyperlink formula that eliminates the need for environment variables yet retains the reference to the cell. If I can achieve this it makes my spread sheet very portable and it also allows me to copy and paste this formula across many rows, thus saving a lot of work. Can anyone help?