openoffice.org - Getting the row number of a hyperlinked cell in open calc -
i have file 2 spreadsheets, sheet1 , sheet2.
in sheet1 have cells link specific cell in sheet2. done, using opencalc's hyperlink function.
let's assume use following function in sheet1.a1:
=hyperlink("#sheet2.d4","sometext") in sheet1.a2 fetch row number of linked cell (sheet2.d4), end result 4(as 4th row sheet2 linked)
how can achieve this?
thanks help!
if =hyperlink() formulas such internal cell links, can achieved formula:
=mid(formula(a1),search("[0-9]+(?!.*\.)",formula(a1)),search("[;,]",formula(a1))-search("[0-9]+(?!.*\.)",formula(a1))-1) more universal macro solution.
greetings
axel
Comments
Post a Comment