Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index

Am 15.08.2012 23:22, chilobo wrote:

The image files are stored in a directory "B" (german "Bilder") relative to
the directory of the spreadsheet, the other links are stored in similarly
abbreviated subdirectories.
Because some oft the other files are quite large the whole structure is
copied to locally available subdirectories on the users private PCs - some
Windows, some linux.
This is _not_ the problem. The problem is, that relative links don't work in
spreadsheets in Calc.

... because the developers account calculated relative hyperlinks as a security risk. As a work-around I showed you how to improve your formula so it uses a calculated absolute path in URL notation. Of course, the very same method can not work with Excel which does not know regular expressions.
You may try some switch to distinguish between Excel and Calc:
MID(ADDRESS(1;1;1;1;"foo");4;1) returns the sheet separator "." in Calc and "!" in Excel. Can be used as a named expression:
=HYPERLINK(IF(ShSep="." ; calc_calculation ; xls_calculation))

For unsubscribe instructions e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.