How to remove whitespace indents in all first lines in Word?
If you want to remove all first lines with indents by using whitespace (space characters or Tab characters) in document, this tutorial will introduce you the following tricky methods to quickly remove all first line indents which indent by using white space (space characters and Tab characters).
Recommended Productivity Tools for Word
Amazing! Use Efficient Tabs in Word (Office) like Chrome, Firefox and New Internet Explorer!
You can use the following VBA code to remove whitespace (space character or tab character) indents in all first lines in the document.
Step 1: Press “Alt-F11” to open the Microsoft Visual Basic for Application window;
Step 2: Click Module on the Insert tab, copy and paste the following VBA code into the Module window;
Step 3: Then click Run button to apply the VBA.
The VBA code of removing whitespace(space character or tab character) indents in all first line:
Dim i As Paragraph, n As Long
Application.ScreenUpdating = False 'close screen and refresh
For Each i In ActiveDocument.Paragraphs 'cycling in the pragraphs of the active document
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
Else: Exit For
Application.ScreenUpdating = True 'restore screen and refresh
Is there an easy way to remove white space indents in all first lines? Yes, Kutool for Word is your best choice. With only one click, you can remove white space indents from all first lines in the document.
Click Kutools > Remove indents >Remove All First Line Indent Spaces. See screenshot:
Note: if you select a part of the document first, it will only remove the white space indents in all first lines of the selection.
For more detailed information about Remove All First Line Indent Spaces of Kutools for Word, please visit Remove Indents.
Recommended Word Productivity Tools
- Complicated and repeated operations can be done one-time processing in seconds.
- Insert multiple images across folders into Word document at once.
- Merge and combine multiple Word files across folders into one with your desired order.
- Split the current document into separate documents according to heading, section break or other criteria.
- Convert files between Doc and Docx, Docx and PDF, collection of tools for common conversions and selection, and so on...