KutoolsforOffice— 1 つのソリューション、5 つの強力なツール。少ない労力で大きな成果。

How to remove first-line indents made with spaces or tabs in Word?

AuthorAmanda Li変更日

If your Word document contains paragraphs with first-line indents created by space or タブ文字、 removing them manually can be tedious。 This tutorial introduces two quick and effective methods to remove all whitespace indents from the first lines of paragraphs。

Remove first-line indents made with spaces or tabs using VBA

Remove first-line indents made with spaces or tabs using Kutools for Word

Word 向けおすすめ生産性ツール

Kutools for Word:AI を統合🤖し、100 以上の高度な機能で文書作業時間を 50% 短縮できます。無料ダウンロード

Office Tab:Word(およびその他の Office アプリケーション)にブラウザーのようなタブを導入し、複数の文書を簡単に操作できます。無料ダウンロード


Remove first-line indents made with spaces or tabs using VBA

You can use the following VBA code to automatically remove all first-line indents made with spaces or タブ文字 in a Word document。

  1. Press Alt + F11to open the Microsoft Visual Basic for Applications window.
  2. Click Module from the Insert tab, then copy and paste the following VBA code into the module window.
    Sub remove_all_the_first_line_indent_spaces()
    Dim i As Paragraph, n As Long
    Application.ScreenUpdating = False 'turn off screen updating
    For Each i In ActiveDocument.Paragraphs
        For n = 1 To i.Range.Characters.Count
            If i.Range.Characters(1).Text = " " Or i.Range.Characters(1).Text = " " Or i.Range.Characters(1).Text = Chr(9) Then
                i.Range.Characters(1).Delete
            Else
                Exit For
            End If
        Next n
    Next
    Application.ScreenUpdating = True 'restore screen updating
    End Sub
  3. Click the Run 実行button to execute the code.
Office Tab を使用してドキュメント内を移動

Office Tab

Word、Excel、PowerPoint などにタブ付きナビゲーションを実装し、ウェブブラウザのように1 つのウィンドウでスムーズに切り替えられます。


Remove first-line indents made with spaces or tabs using Kutools for Word

Want a quicker solution? Kutools for Word lets you remove all first-line indents made with spaces or tabs in just one click from the entire document or within a 範囲を選択してください。

Kutools for Word

Kutools for Word は、コーディングも複雑な設定も不要。Microsoft Word に実用的なツールを直接搭載し、日常のドキュメント作業をよりスピーディーに処理するお手伝いをします。

  • AI による文章作成、推敲、翻訳、要約
  • 一括検索と置換をドキュメント間で一貫して利用可能
  • Word 文書を簡単に結合・分割
  • Word と PDF のバッチ変換
  1. Click Kutools > Indents (in the Remove group) > すべてのスペース/タブインデントを削除。
    リボンの Kutools タブにある「すべてのスペース/タブインデントを削除」オプション

Note:If you select part of the document first、 this tool will only remove first-line indents made with spaces or タブ文字 within that selection。

Word で同じ作業をもっとスピーディーにこなしたいですか?ぜひKutools for Word をお試しください。日々の業務がぐっとラクに。


最高のオフィス生産性ツール

Kutools for Word– 300 以上の卓越した機能で、Word 体験をさらにレベルアップ!100 の注目の機能!

🤖KUTOOLS AI の機能AI アシスタントリアルタイムアシスタントスーパーポリッシュ(書式を保持)スーパートランスレート(書式を保持)AI 編集AI 校正

📘ドキュメントマスタリーページ分割文書の結合選択範囲をさまざまな形式でエクスポート(PDF/TXT/DOC/HTML など)一括 PDF 変換

コンテンツ編集複数ファイルにわたって一括検索と置換すべての画像をリサイズ表の転置行と列表をテキストに変換

🧹手間いらずのクリーンアップ:余分なスペースを一掃セクション区切りテキストボックスハイパーリンク/その他の削除ツールについては、削除グループをご覧ください…

クリエイティブ挿入:以下を挿入桁区切り記号チェックボックスラジオボタンQR コードバーコード複数の画像/詳細は挿入グループで…

🔍精密選択:特定のページ図形見出し段落/ナビゲーションを強化するにはその他の選択機能を活用

注目の拡張機能任意の場所に移動繰り返しテキストを自動挿入ドキュメントWindows 間を切り替え11 変換ツール

🌍40 以上の言語をサポート:Kutools を好みの言語でお使いいただけます!英語、スペイン語、ドイツ語、フランス語、中国語など、40 以上の言語に対応しています。

リボン上の Kutools for Word タブ
 
 

Office Tab– Office にタブ付きインターフェースを導入し、作業を大幅に簡単に

  • Word、Excel、PowerPoint、Publisher、Access、Visio、Project でタブを使った編集・閲覧機能を有効にします。
  • 複数のドキュメントを、新しいウィンドウではなく、同じウィンドウ内の新しいタブで開いたり作成したりできます。
  • 日々の生産性を50%も向上させ、毎日数百回のマウスクリックをカットします!

✨ Kutools for Office – 1 回のインストールで、5 つの強力なツールがすぐに使える!

含まれるもの:Office Tab ProKutools for ExcelKutools for OutlookKutools for WordKutools for PowerPoint

📦 1 つのスイートですべての5 ツールを入手|🔗 Microsoft Office とシームレスに連携|⚡ 保存時間して、すぐに生産性を向上

最高のオフィス生産性ツール

Kutools for Word– Word 向けの100+ツール