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: users+help@global.libreoffice.org
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
Context
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.