提示:其它语言是由 Google 机器翻译的。 你可以访问 English 版本。
登录
x
or
x
x
马上登记
x

or

如何删除Word中的所有超链接?

要删除Word文档中的所有超链接对于Microsoft Word用户来说并不困难,本教程仅列出几种可用的方法来删除Word中的所有超链接。

快速删除当前Word文档中的所有超链接

通过删除Word中的超链接很容易删除超链接,但删除数十个超链接非常耗时。 在这里, 删除超链接 Kutools for Word的功能只需点击一下即可删除所有超链接! 点击60天免费试用!
广告删除所有超链接
Kutools for Word 是一个方便的插件,可以简化您的工作并提高您处理word文档的能力。 45天免费试用! 现在得到它!


使用“删除超链接”功能逐个删除超链接

此方法将指导您通过“删除超链接”功能删除超链接,然后在Word中逐个删除其他超链接。

1。 右键单击要删除其超链接的指定链接文本,然后选择 删除超链接 从上下文菜单。 看截图:
doc删除超链接右键单击01
现在,超链接立即从指定的链接链接中删除。

2。 重复上述操作以在Word中逐个删除超链接。

以这种方式删除超链接很容易,但是手动逐个删除文档中的所有超链接将花费很多时间。


通过快捷方式删除当前文档中的所有超链接

很多人喜欢使用快捷方式,因为它们简单且省时。 快捷方式可用于删除所有超链接,您无需担心文档太长。

1。 按 按Ctrl + A 键同时选择整个文档。

2。 接下来按 按Ctrl + 转移 + F9 同时键以删除当前文档中的所有超链接。

请注意:
快捷方式将删除所有基础字段。


使用VBA删除当前文档中的所有超链接

Office Tab - 选项卡式浏览和编辑多个Word文档,如Firefox,Chrome,Internet探索10! 它吧!
ad officetab word

您可以使用以下VBA轻松删除当前Word文档中的所有超链接。

1。 按 Alt + F11键 键打开 Microsoft Visual Basic for Application 窗口。

2。 点击 插页 > 模块,然后将随后的VBA代码复制并粘贴到模块窗口中。

VBA 1:删除当前文档的所有超链接

Sub KillTheHyperlinks()
' -----------------------------------------------
' Removes all hyperlinks from the document:
' Text to display is left intact
' -----------------------------------------------
With ThisDocument
' Loop while there are hyperlinks afoot!
While .Hyperlinks.Count > 0
.Hyperlinks(1).Delete
Wend
End With
' Shut this off, don't need anymore popping up
Application.Options.AutoFormatAsYouTypeReplaceHyperlinks = False
End Sub

3。 然后点击 按钮或按F5键运行脚本。

现在,您将看到当前Word文档中的所有超链接都会立即批量删除。


使用VBA删除所有打开的Word文档中的所有超链接

与第一个VBA代码不同,它删除当前文档中的所有超链接,第二个VBA代码允许您删除所有打开文档中的所有超链接。

1。 按 Alt + F11键 键打开 Microsoft Visual Basic for Application 窗口。

2。 点击 插页 > 模块,然后将随后的VBA代码复制并粘贴到模块窗口中。

VAB 2:删除所有打开的Word文档中的所有超链接

Sub KillTheHyperlinksInAllOpenDocuments()
' -----------------------------------------------
' Removes all hyperlinks from any open documents
' Text to display is left intact
' -----------------------------------------------
Dim doc As Document
Dim szOpenDocName As String

' Loop through all open documents:
For Each doc In Application.Documents
' Store the document name
szOpenDocName = doc.Name
' Remove the hyperlinks from that document
With Documents(szOpenDocName)
' Loop while there are hyperlinks afoot!
While .Hyperlinks.Count > 0
.Hyperlinks(1).Delete
Wend
End With
' Shut this off, don't need anymore popping up
Application.Options.AutoFormatAsYouTypeReplaceHyperlinks = False
Next doc
End Sub

现在,您将看到所有打开的Word文档中的所有超链接一次被删除。


删除Kutools for Word的所有超链接

您订购的 Kutools for Word删除超链接 实用程序,您可以快速删除整个文档或文档选定部分的所有超链接。

Kutools for Word 是一个方便的插件,可以简化您的工作并提高您处理word文档的能力。 45天免费试用! 现在得到它!

1。 点击 Kutools > 删除 > 删除超链接。 看截图:
doc删除超链接ktw 01

2。 在弹出的删除对话框中,请单击 OK 按钮,看截图:
doc删除超链接ktw 02

然后出现一个对话框,告诉我们删除了多少个超链接。 关闭它。
doc删除超链接ktw 03
您将看到从当前Word文档中删除所有超链接,如下面的屏幕截图所示:
doc删除超链接ktw 04

在此 删除超链接 Kutools for word的功能将删除文本中的所有链接,但仍保留文本和格式样式。 免费试用!


停止自动添加Word中文本的超链接

例如,您已从“https://www.extendoffice.com”文本中删除了超链接,但是当我们键入空格或按下时,超链接将自动添加到文本中 输入 键下面的文字如下图所示截图。 在这种情况下,我们需要配置Word选项并停止自动向Word中的文本添加超链接。

1。 点击 文件 > 期权 在Word中。

2。 在“Word选项”对话框中,单击“是” 打样 在左边的栏中,然后点击 自动更正选项 按钮。 看截图;

3。 在“自动更正”对话框中,请启用 自动格式输入 标签,取消选中 互联网和超链接的网络路径 选项,然后单击 OK 按钮。 看截图:

4。 点击 OK “Word选项”对话框中的按钮。

从现在开始,Word将不再自动添加超链接到特殊文本,如网站路径。




推荐的Word生产力工具

Kutools For Word - 超过100 Word的高级功能,节省您的50%时间

  • 复杂和重复的操作可以在几秒钟内完成一次性处理。
  • 一次将多个图像跨文件夹插入Word文档。
  • 将多个文件夹合并并组合成一个具有所需订单的文件。
  • 根据标题,分节符或其他标准将当前文档拆分为单独的文档。
  • 在Doc和Docx,Docx和PDF之间转换文件,用于常见转换和选择的工具集合等等......
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Lê Dv · 1 months ago
    I used the vba code to remove all hyperlinks in my current file. It worked like a charm!
    But is there a way to save code to my personal macro file and use for any file I need to remove all hyperlinks [only for current file, not all opening files]?
  • To post as a guest, your comment is unpublished.
    Emanuel · 1 years ago
    Solved my problems, thanks for the code. I added some exceptions into the code as some hyperlinks are reused everytime.
  • To post as a guest, your comment is unpublished.
    applejack · 1 years ago
    "Press “Ctrl-Shift-F9”." This is not useful for those without function keys. Please refer to menu items also. Thank you!
  • To post as a guest, your comment is unpublished.
    althaf · 1 years ago
    you are a savior.
    thanks a lot ,thanksssss...
  • To post as a guest, your comment is unpublished.
    MatMagik · 1 years ago
    great help! thanks
  • To post as a guest, your comment is unpublished.
    Mustafa Afyonluoglu · 2 years ago
    Great ! Thank you very much !
  • To post as a guest, your comment is unpublished.
    Surbhi · 2 years ago
    Cntrl+shift+f9 do not work, plz give another solution to remove hyperlinks from entire docs.
    • To post as a guest, your comment is unpublished.
      Momo · 2 years ago
      You have to press command instead of control
  • To post as a guest, your comment is unpublished.
    Mariya zafar · 2 years ago
    you are a savior.
    thanks a lot ,thanksssss...
  • To post as a guest, your comment is unpublished.
    Dozer146 · 2 years ago
    CTRL-SHIFT-F9 does not remove hyperlinks for images. The module listed above, KillTheHyperlinks DOES remove them. Is there any way to convert that module to a macro?
  • To post as a guest, your comment is unpublished.
    Naresh · 2 years ago
    thanks dude ctrl+shift + f9 waao awesome thankeww
  • To post as a guest, your comment is unpublished.
    shweta · 2 years ago
    hi. ctrl+shift+f9 this shortcut isn't working in lenovo ideapad 100. Every time i am using it screen goes off. help please !!!!!
  • To post as a guest, your comment is unpublished.
    Rohit kumar · 3 years ago
    ctrl+shift+f9. That's really good. . .
  • To post as a guest, your comment is unpublished.
    king khan · 3 years ago
    thanks man it worked alot i was in too much tension due to this problem
  • To post as a guest, your comment is unpublished.
    Erik · 3 years ago
    Excellent !!!! Thank you much
  • To post as a guest, your comment is unpublished.
    iahmedsheraz · 3 years ago
    awesome work
    work for me
  • To post as a guest, your comment is unpublished.
    kouloud · 3 years ago
    Thank you so much !!
  • To post as a guest, your comment is unpublished.
    Unknown · 3 years ago
    Thank you SOOO much! This really worked! Thanks!
  • To post as a guest, your comment is unpublished.
    Andrew · 4 years ago
    What if your computer doesn't have an F9 key?
  • To post as a guest, your comment is unpublished.
    Raju · 4 years ago
    Thank you. It works. Manually removing the hyperlink is a pain.
  • To post as a guest, your comment is unpublished.
    Dado · 4 years ago
    Thanks a lot! You save me hours of stupid work.
  • To post as a guest, your comment is unpublished.
    prashant · 4 years ago
    very helpful best !
    thanks a lot!
  • To post as a guest, your comment is unpublished.
    Richard donkeymiscna · 4 years ago
    Excellent, and elegant solution even for a luddite like me. Thanks!
  • To post as a guest, your comment is unpublished.
    sehar munir · 4 years ago
    thnx alot . u saved alot of my precious time. thnx :)
  • To post as a guest, your comment is unpublished.
    Asif Raza · 4 years ago
    I have used your Sub KillTheHyperlinksInAllOpenDocuments(). I have copied and paste it into a module. but it only removes hyperlink for one, current, document. I think the code line "For Each doc In Application.Documents" is not working properly. Please help. thanks.
  • To post as a guest, your comment is unpublished.
    Betty · 4 years ago
    I used to use cont-shift f9, but it stopped working. Have you got a clue about what I might have done and how I can get it back?
  • To post as a guest, your comment is unpublished.
    Neeraj Chimnani · 5 years ago
    THANK U so much a lot of time is saved
  • To post as a guest, your comment is unpublished.
    Sue Woodley · 5 years ago
    CTRL+SHIFT+F9 - fantastic, saved me hours!
  • To post as a guest, your comment is unpublished.
    Tri Rudiyanto · 5 years ago
    Thanks very much, it works
  • To post as a guest, your comment is unpublished.
    deepzsandra · 5 years ago
    THANK YOU!!!!![img]
    [/img]SO MUCH
    LINK CTRL + SHIFT + F9
    :-)
  • To post as a guest, your comment is unpublished.
    abhijit paul · 5 years ago
    Thanks bro...
    it helped me a lot in deleting my hyperlink of a 100 page document
    B)
  • To post as a guest, your comment is unpublished.
    Kumar Satya Ranjan · 5 years ago
    Simplest way for Removing all links in word at once:

    Select All The Text (CTRL + A)

    Then, press CTRL + Shift + F9
  • To post as a guest, your comment is unpublished.
    Kumar Satya Ranjan · 5 years ago
    Simplest way for Removing all links at once.

    Select All The Text. (CTRL + A)

    Now press CTRL + Shift + F9
    • To post as a guest, your comment is unpublished.
      Sean · 4 years ago
      I did what you suggested and the process deleted everything in the document!!!!!
  • To post as a guest, your comment is unpublished.
    Antonio · 5 years ago
    Thank you! Grace, mercy and peace would multiply to you.
  • To post as a guest, your comment is unpublished.
    ASA · 5 years ago
    Thanks a lot, really helped.
  • To post as a guest, your comment is unpublished.
    satish · 5 years ago
    thanks for contrl+shift+f9 :-)
  • To post as a guest, your comment is unpublished.
    Tamas · 5 years ago
    :lol: Great tutorial. Very helpful.Method 2 is probably my favorite. Thanks a bunch
  • To post as a guest, your comment is unpublished.
    Sudarshan · 5 years ago
    You can even paste the contents to a text file and again copy them back to the word file.
  • To post as a guest, your comment is unpublished.
    cherft · 5 years ago
    Succinct!
    THANK YOU!
    (Have to repeat this as this is "too short")
    THANK YOU!
    THANK YOU!
    THANK YOU!
    THANK YOU!
    THANK YOU!
  • To post as a guest, your comment is unpublished.
    abarna315 · 5 years ago
    Tanq yar.... short n sweet
  • To post as a guest, your comment is unpublished.
    Ankita Pandey · 5 years ago
    Thanks a ton!!Saved me a lot of hassle!
  • To post as a guest, your comment is unpublished.
    chacha · 5 years ago
    Thx!!!! Saved me hours!!!
  • To post as a guest, your comment is unpublished.
    AA · 5 years ago
    TNX TNX TNX
    ctel+ shift+F9
  • To post as a guest, your comment is unpublished.
    Mago · 5 years ago
    Thank you for Ctrl+Shift+F9
    It helped a lot!
  • To post as a guest, your comment is unpublished.
    Saph · 5 years ago
    Thanks a lot! I like the Ctrl-shift-F9 one.
  • To post as a guest, your comment is unpublished.
    Pixa · 5 years ago
    Thanks on CTRL+SHIFT+F9 hint :)
    • To post as a guest, your comment is unpublished.
      Iman · 3 years ago
      Ctrl+Shift+F9 cannot remove hyperlink from Image, do you have solution ?
      • To post as a guest, your comment is unpublished.
        FAHEEM · 2 years ago
        [quote name="Iman"]Ctrl+Shift+F9 cannot remove hyperlink from Image, do you have solution ?[/quote]

        To remove every link from the document, use the following procedure.

        From Menu bar, select .
        Click on , if not already highlighted.
        On right bottom side of the screen, click . Note: You will see this item ONLY after the file has been saved. If you download some data/photos in a new word document with links, will not appear until file is saved.
        A dialog box [b]“Links”[/b] will open.
        Select one or all links from the list and click .
        Are you sure you want to break the selected links? Click .
        All selected links will be deleted in few seconds.

        If the list of links is long, dialog box [b]“Links”[/b] takes long time to refresh information. To save time, select first link in the list, drag scrollbar to bottom, click on last link while pressing down the shift key. This will select all links in the list. Then press to get rid of the links.

        I hope it will serve the purpose.
  • To post as a guest, your comment is unpublished.
    swati sinha · 5 years ago
    thanks a ton ....short n to the point help....
  • To post as a guest, your comment is unpublished.
    Andy Feltman · 5 years ago
    Thanks for the help -- I was looking for a fast way to remove all hyperlinks from a doc and you told me! Better than Microsoft's 'help' pages!