Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-26-2025, 05:11 AM
chrisjj chrisjj is offline How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Windows 7 64bit How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Office 97-2003
Competent Performer
How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ?
 
Join Date: Aug 2025
Posts: 120
chrisjj is on a distinguished road
Default How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ?

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.
Reply With Quote
  #2  
Old 08-27-2025, 08:24 PM
macropod's Avatar
macropod macropod is offline How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Windows 10 How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
  #3  
Old 08-28-2025, 01:03 AM
chrisjj chrisjj is offline How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Windows 7 64bit How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Office 97-2003
Competent Performer
How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ?
 
Join Date: Aug 2025
Posts: 120
chrisjj is on a distinguished road
Default

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:

Reply With Quote
  #4  
Old 08-28-2025, 03:11 PM
macropod's Avatar
macropod macropod is offline How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Windows 10 How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
  #5  
Old 08-29-2025, 08:59 AM
chrisjj chrisjj is offline How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Windows 7 64bit How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Office 97-2003
Competent Performer
How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ?
 
Join Date: Aug 2025
Posts: 120
chrisjj is on a distinguished road
Default

> 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.
Reply With Quote
  #6  
Old 08-29-2025, 03:40 PM
macropod's Avatar
macropod macropod is offline How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Windows 10 How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
  #7  
Old 08-29-2025, 04:57 PM
chrisjj chrisjj is offline How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Windows 7 64bit How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Office 97-2003
Competent Performer
How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ?
 
Join Date: Aug 2025
Posts: 120
chrisjj is on a distinguished road
Default

> The { and # are illegal filename characters

They are legal filename characters in Windows.

Proof:



Info: Naming Files, Paths, and Namespaces - Win32 apps | Microsoft Learn

Reply With Quote
  #8  
Old 08-29-2025, 09:35 PM
macropod's Avatar
macropod macropod is offline How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Windows 10 How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
  #9  
Old 08-30-2025, 02:30 AM
chrisjj chrisjj is offline How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Windows 7 64bit How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Office 97-2003
Competent Performer
How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ?
 
Join Date: Aug 2025
Posts: 120
chrisjj is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
you're still trying to use \ as part of the filename
I don't see any \ in my filenames.





Quote:
Originally Posted by macropod View Post
- which won't work even in Windows.
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.
Reply With Quote
  #10  
Old 08-30-2025, 05:20 AM
macropod's Avatar
macropod macropod is offline How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Windows 10 How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
  #11  
Old 08-30-2025, 05:59 AM
chrisjj chrisjj is offline How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Windows 7 64bit How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Office 97-2003
Competent Performer
How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ?
 
Join Date: Aug 2025
Posts: 120
chrisjj is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
I can only go on what you've posted. The first image in post #3 purports to show a filename beginning with [{\.
Thanks but that string isn't in the filename. It is in the pathname. Specifically, in the immediately containing folder's name.

Quote:
Originally Posted by macropod View Post
I asked you for the actual URL, but all you've given is images
Apologies, but I know no way to get the actual URL out of Word other than the mouse hover image I showed.

Quote:
Originally Posted by macropod View Post
in which it's impossible to tell what you're doing.
I am simply clicking on the hyperlink.

It is:

Code:
{ HYPERLINK "FAIL%20New%20PDF%20Document%20%5b.pdf" }
(obtained by Tools, Options , Include with document [x] Field codes, then Print.)

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
Clearly that too is not a URL.

Then when the dialog is closed and reopened it changes to:

Code:
 Address: FAIL%20New%20PDF%20Document%20%5b.pdf
looking a little more like a URL.

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.)
Reply With Quote
  #12  
Old 08-31-2025, 02:54 AM
macropod's Avatar
macropod macropod is offline How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Windows 10 How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by chrisjj View Post
Thanks but that string isn't in the filename. It is in the pathname. Specifically, in the immediately containing folder's name.
But that isn't what the image in your post said it was. Read what you posted! You said those characters were part of the filename:
Quote:
filename including [{\FAIL New PDF Document %5b.pdf
What is the actual path and filename?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #13  
Old 08-31-2025, 04:47 AM
chrisjj chrisjj is offline How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Windows 7 64bit How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Office 97-2003
Competent Performer
How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ?
 
Join Date: Aug 2025
Posts: 120
chrisjj is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
But that isn't what the image in your post said it was. Read what you posted! You said those characters were part of the filename:

Quote:
Originally Posted by macropod View Post
filename including [{\FAIL New PDF Document %5b.pdf
Source: https://www.msofficeforums.com/186863-post1.html


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 "".

Quote:
Originally Posted by macropod View Post
What is the actual path and filename?
As shown in that pic.

Path is immaterial. Filename is:

Code:
FAIL New PDF Document [.pdf
Reply With Quote
  #14  
Old 08-31-2025, 03:16 PM
macropod's Avatar
macropod macropod is offline How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Windows 10 How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
  #15  
Old 08-31-2025, 03:35 PM
chrisjj chrisjj is offline How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Windows 7 64bit How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? Office 97-2003
Competent Performer
How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ?
 
Join Date: Aug 2025
Posts: 120
chrisjj is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
So edit the hyperlink field code to read:
{HYPERLINK "{FILENAME \p}\..\FAIL New PDF Document [.pdf"}
Done:



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.
Reply With Quote
Reply

Tags
word 2007



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I get Word 2003/2007 hyperlink follow to work on an address containing [ or { ? After creating hyperlink I have to 'ctrl+click to follow link' 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

Other Forums: Access Forums

All times are GMT -7. The time now is 11:40 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft