提示:其他語言是Google翻譯的。 你可以訪問 English 版本。
登入
x
or
x
x
註冊
x

or

如何刪除Word中的所有框架?

框架用於放置包含某些項目的文本或圖形。 如何在Word文檔中插入框架? 但有時幀會使文檔難以編輯,因為所有文本都放在幀內。 如何輕鬆地從Word文檔中刪除框架?

單擊一下即可刪除選定內容中的所有幀或Word中的整個文檔

Kutools for Word,一個出色的Word插件,發布了一個方便的刪除框架功能,可以幫助您從Word中刪除所有框架,只需單擊一下即可從Word中刪除整個文檔。 單擊以獲取60天的免費試用!
doc刪除宏ktw

Kutools for Word:一個功能強大的加載項包含100 +工具,它可以在您的Word日常工作中提高80%的工作效率! 現在得到它!


手動從文檔中逐個刪除幀

用戶可以通過Word中的“格式化框架”功能手動刪除單個框架。 請做如下:

此方法一次只能刪除一個幀。 要批量刪除所有相框,請訪問以下內容 VBA or Kutools.

1。 選擇要刪除的幀,右鍵單擊,然後選擇 格式框架 從上下文菜單。

2:在彈出框架對話框中,請單擊 刪除框架 按鈕。

現在,立即刪除當前選定的幀。


使用VBA代碼刪除文檔中的所有框架

VBA代碼可以快速從批量中刪除整個Word文檔中的所有幀。 請做如下:

1。 按 Alt + F11 打開Microsoft Visual Basic for Applications窗口。

2。 單擊“插入”>“模塊”,然後將VBA代碼粘貼到新的打開模塊窗口中。

刪除所有幀的VBA代碼:

Sub RemoveFrames()Dim frm As Frame for Each frm在ActiveDocument.Frames frm.Delete Next frm End Sub

3。 點擊 按鈕或按下 F5 應用VBA。

現在,所有幀都會立即從當前Word文檔中刪除。


只需單擊Kutools for Word,即可從文檔中刪除所有框架

如果您安裝了Kutools for Word,則可以應用其“刪除幀”功能,只需單擊一下即可快速刪除某個選定內容中的所有幀或整個文檔。 請做如下:

Kutools for Word:一個功能強大的加載項包含100 +工具,它可以在您的Word日常工作中提高80%的工作效率! 現在得到它!

只需點擊 Kutools > 清除 > 刪除幀,所有幀將立即從整個文檔中刪除。 看截圖:

如果要從特定選擇中刪除所有幀,請先選擇文檔的一部分,然後單擊“單擊” Kutools > 清除 > 刪除幀.



推薦的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.
    Help please · 1 years ago
    does anyone know a way to undo the VBA change suggested?
  • To post as a guest, your comment is unpublished.
    Horus · 2 years ago
    Worked great for my 40-page doc. Thanks!
  • To post as a guest, your comment is unpublished.
    Martha · 3 years ago
    Hi,
    This would be great if it worked for me! I've got a 13 page document with a 7 page table in a frame. I can't get this to work. I get run time error 4605. When I choose debug, it says the line frm.Delete is the problem.
    Any idea what my problem is? I'd really rather not have to reconstruct this table.
    How do tables get stuck in frames anyway? It makes the table difficult to work with and doesn't seem to serve any purpose.
    Thanks so much,
    • To post as a guest, your comment is unpublished.
      Shaunda · 2 years ago
      I've had frames popping up into my documents for the last several weeks, just randomly. The template that my documents are based off do not use frames, but somehow they're showing up. I'm trying to run this macro but continue to get an error if there is any text in between the different frames. Anyone know why? Either why they're now showing up or why the code won't work?
  • To post as a guest, your comment is unpublished.
    Sharjeel · 3 years ago
    Really Worked thanks :-)
  • To post as a guest, your comment is unpublished.
    RJ Juan · 4 years ago
    Very cool solution! Saved me a lot of time and effort. Thanks!
  • To post as a guest, your comment is unpublished.
    Rohit Mishra · 4 years ago
    Hi,

    Will this tool remove the frames from word document without messing up with the formatting. I used many tools to remove frames which contained text inside them.

    They were all able to remove the frames and take out the text but formatting was gone and had to do the formatting all over again.

    Regards,
    Rohit
    • To post as a guest, your comment is unpublished.
      Will · 3 years ago
      No it doesnt seem to keep formatting. All formatting is gone :(
  • To post as a guest, your comment is unpublished.
    sojib · 4 years ago
    Thanks a lot..........
  • To post as a guest, your comment is unpublished.
    Jayakumar · 5 years ago
    Its really awesome within a second. Game over...