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

Andreas Säger wrote

Excel does not even know what an URL is. Excel uses Windows specific 
path names.

Open some local *.html file in your favourite browser and look at the 
file:// URL in the address bar.
More specific information about the internet world:

Save the document somewhere so it has some path.
Tools>Options>Calc>Calculation: "Enable regular expressions in formulae"
Insert>Names>Insert [Ctrl+F3]
Name: MyPath (or something else)
"Range" (idiotic label since "named ranges" are formula expressions):
in German:
[Add], [OK]

Test with cell formula =MyPath should return the URL-path including a 
trailing slash.

=HYPERLINK(MyPath&"B/"&B974&".jpg") creates a hyperlink pointing to a 
.jpg file in subdirectory B with the name in cell B974.
chived and cannot be deleted

I was thinking about a similar solution: My users of the spreadsheet would
have to enter the absolute directory where they store the spreadsheet (and
the directory for the images) and I would use this path to produce an
absolute path. 

This enlarges my sheet and because I also have hardlinked (without formula,
just relative links) data in the spreadsheet requires further action ....

Why can't Calc handle relative links correctly?

Thank you for your answer.

View this message in context:
Sent from the Users mailing list archive at

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.