![]() |
|
![]() |
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
![]()
Currently it fails.
Steps to reproduce: 1 Open attached and CTRL+click first link to follow it. Expected: success Observed: error - see pic in DOC and below. 2 Try other links Observed: success. 3 Try LibreOffice Writer. Observed: success 4 Search Options for anything useful Observed: none ![]() I ask because accepted but defunct include: * [ and { and # according to web reports. |
#2
|
||||
|
||||
![]()
What is the URL you're trying to link to and if you press Alt-F9 after inserting it into Word, how does the hyperlink field represent it?
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]()
A failing address (not a URL, since it is not on web) is the one I showed on the hover:
![]() Its link field shows: ![]() A succeeding link's field shows: ![]() |
#4
|
||||
|
||||
![]()
It appears your hyperlinks are missing the filepath, which is why they're failing. Without the filepath, the links would only work from within the folder containing the destination files.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
![]()
> It appears your hyperlinks are missing the filepath, which is why they're failing. Without the filepath, the links would only work from within the folder containing the destination files. That is my intent.
They aren't missing a filepath. They are relative links. Link #3 works fine - opening the file from within the saved .DOC's folder. The only links there that fail are the ones having addresses containing [ and { . Plus # triggers the same fail. |
#6
|
||||
|
||||
![]()
The { and # are illegal filename characters on some platforms, as is the \ everywhere. See:
Characters to Avoid in Filenames and Directories | Michigan Tech
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#7
|
|||
|
|||
![]()
> The { and # are illegal filename characters
They are legal filename characters in Windows. Proof: ![]() Info: Naming Files, Paths, and Namespaces - Win32 apps | Microsoft Learn ![]() |
#8
|
||||
|
||||
![]()
Even if you can get away with using { [ and #, you're still trying to use \ as part of the filename - which won't work even in Windows.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#9
|
|||
|
|||
![]()
I don't see any \ in my filenames.
![]() ![]() The only filenames that aren't working are the ones having [ and {. And the working filename differs only in not having those characters. So I really think the fail is due to [ and { alone. Thanks for the suggestion though. |
#10
|
||||
|
||||
![]()
I can only go on what you've posted. The first image in post #3 purports to show a filename beginning with [{\.
I asked you for the actual URL, but all you've given is images in which it's impossible to tell what you're doing.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#11
|
|||
|
|||
![]() Quote:
Apologies, but I know no way to get the actual URL out of Word other than the mouse hover image I showed. I am simply clicking on the hyperlink. It is: Code:
{ HYPERLINK "FAIL%20New%20PDF%20Document%20%5b.pdf" } That parameter is called "Filename" ratehr than URL by MS Field codes: Hyperlink field - Microsoft Support . Also, Edit Hyperlink initially shows: Code:
Address: FAIL New PDF Document [.pdf Then when the dialog is closed and reopened it changes to: Code:
Address: FAIL%20New%20PDF%20Document%20%5b.pdf Having said which, I think us searching for a URL is of little use, since the fact this destination is a local file means its address is not actually expected to be a URL. (The extra blank line after each CODE line above seems to be a forum bug.) |
#12
|
||||
|
||||
![]() Quote:
Quote:
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#13
|
|||
|
|||
![]() Quote:
![]() That's from MS Word, not me. Word is simply quoting the path. What I said in the foldername is "filename including [{". To that, Word added the path separator "". As shown in that pic. Path is immaterial. Filename is: Code:
FAIL New PDF Document [.pdf |
#14
|
||||
|
||||
![]()
So edit the hyperlink field code to read:
{HYPERLINK "{FILENAME \p}\..\FAIL New PDF Document [.pdf"} where {FILENAME \p} is a filename field, as per the instructions in the Word Fields and Relative Paths to External Files 'Sticky' thread at the top of this forum: https://www.msofficeforums.com/word/...nal-files.html And next time you have a problem: 1. Be clear about what the issue is; and 2. Post text instead of littering you post with images that no-one can copy any meaningful content from.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#15
|
|||
|
|||
![]() Quote:
![]() Still it fails: ![]() which doesn't surprise me because at most this changes the link address path, and I see nothing suggesting the fail is dependent on that. Thanks anyway for the suggestion. |
![]() |
Tags |
word 2007 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Spider8816 | Word | 3 | 10-16-2024 05:04 AM |
Hyperlink: open the document only once, quit & reopen PP, hyperlink doesnt work anymore | quanghuynguyenhua | PowerPoint | 0 | 10-10-2015 06:17 PM |
Convert Word 2007 macro to work in Word 2003 | Kamaflage | Word VBA | 1 | 02-25-2015 11:40 PM |
moving follow up flags - outlook 2003 | Newmarket2 | Outlook | 0 | 01-13-2013 04:46 PM |
Hyperlink warning for Powerpoint 2007 with Office 2003 | cinci-hal | PowerPoint | 0 | 03-01-2012 10:52 AM |