none
Word 2007 Can't Create Hyperlinks with Spaces or %20 RRS feed

  • Question

  • Word 2007 won't allow the creation of hyperlinks with spaces or %20. The OK button in the hyperlink dialog box becomes disabled as soon as a %20 is added to the hyperlink address.

    For example...  "http://www.pubplace.com?doc=My" is fine but... "http://www.pubplace.com?doc=My%20Doc"

    ... no can do.

    We have two copies of Word 2007 and both have this problem. Word 2010 seems to work fine.

    Any ideas? 

    Wednesday, June 6, 2012 3:01 AM

All replies

  • Hi,

    Try to use <> to make the link in it.

    For example:

    <http://www.micro soft.com>

    Then the OK button will not disabled. Click the OK button, then it will done.


    Jaynet Zhang

    TechNet Community Support


    Thursday, June 7, 2012 5:21 AM
    Moderator
  • Thanks for the reply. For some reason, that doesn't work for me.

    The OK button stays enabled until I put the closing >, then it disables.

    For example, I can choose OK for "<http://www.micro soft.com" but not for "<http://www.micro soft.com>" 

    Tuesday, June 12, 2012 6:10 PM
  • Hi,

    Now I tried this both in my Word 2007 and Word 2010, it doesn’t work.

    I also tried to used macro to do this, but if the hyperlink contains spaces, it will show “Error, hyperlink not vaild…”.

    So I think the only way is type in the link with <>in the document directly, then press Enter key.

    Then the link will show, but the display text cannot be changed.


    Jaynet Zhang

    TechNet Community Support

    Thursday, June 14, 2012 2:10 AM
    Moderator
  • I can create a hyperlink in Word 2007 containing spaces by typing <> around the url BUT the hyperlink doesn't work - Ctrl click does nothing.

    Digging deeper I can see that Word creates an invalid hyperlink with no target URL...I looked in the Word doc XML and the hyperlink is invalid - it has no relationship (there should be a r:id attribute on the w:hyperlink)....

    <<w:hyperlink w:history="1">
    -   <w:r w:rsidRPr="001B6FD9">

    ... .....

            <w:t>http://pubplace.PubPlace.com?folder=Word and PDF</w:t>

      </w:r>
    </w:hyperlink>

    Anyway, I can't believe that Word 2007 can't create a hyperlink with spaces. Nobody does this???? Looking on the web there seems to be some guides on how to do it - seems it works for some people - or did at some point...

    Friday, July 13, 2012 12:30 PM