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: [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted