Increment the hyperlink
ujikol
-
jee pee Posted messages 31861 Registration date Status Moderator Last intervention -
jee pee Posted messages 31861 Registration date Status Moderator Last intervention -
Hello,
I am looking to increment hyperlinks with a variable to open folders.
I have column A with variables 1 to 5000.
I have column B with a "PDF" button that opens the corresponding file 1 to 5000.
I have created column C with a "DOSS" button to open a Windows folder window for the corresponding 1 to 5000 storage location, instead of the corresponding storage.
I have linked the path for example:
\\srvfichiers\Production_commun\pdf\1125
it works very well but it is impossible to increment the folder number
and replace "1125" with the variable from column A, e.g. "1125" would become $a$1125
\\srvfichiers\Production_commun\pdf\$a$1125
but it does not work.
so at this point the only solution is to rename the links one by one
a titan’s work.
(thanks, by the way, for a hyperlink to a file the incrementing works, but not for a link to a folder)
Does anyone have a trick?
Thanks in advance
I am looking to increment hyperlinks with a variable to open folders.
I have column A with variables 1 to 5000.
I have column B with a "PDF" button that opens the corresponding file 1 to 5000.
I have created column C with a "DOSS" button to open a Windows folder window for the corresponding 1 to 5000 storage location, instead of the corresponding storage.
I have linked the path for example:
\\srvfichiers\Production_commun\pdf\1125
it works very well but it is impossible to increment the folder number
and replace "1125" with the variable from column A, e.g. "1125" would become $a$1125
\\srvfichiers\Production_commun\pdf\$a$1125
but it does not work.
so at this point the only solution is to rename the links one by one
a titan’s work.
(thanks, by the way, for a hyperlink to a file the incrementing works, but not for a link to a folder)
Does anyone have a trick?
Thanks in advance
6 answers
Hello
You need to create a formula that concatenates the path with the column..
--
.
Best regards,
Jordane
You need to create a formula that concatenates the path with the column..
="\srvfichiers\Production_commun\pdf\" & $a1125
--
.
Best regards,
Jordane
Hello,
We should use a formula that concatenates a string + variable
We should use a formula that concatenates a string + variable
=""\\srvfichiers\Production_commun\pdf\"" & $A$1125
Attached excerpt of the file
Colonne A B, no increment problem, opening Word or PDF file
Column C manual increment OK
However column D (link to open Windows folder
The display increments (stretch + CTRL key) but the link target does not increment
Display from 11125 to 11133
but all targets remain at 11125
Colonne A B, no increment problem, opening Word or PDF file
Column C manual increment OK
However column D (link to open Windows folder
The display increments (stretch + CTRL key) but the link target does not increment
Display from 11125 to 11133
but all targets remain at 11125