Sub remove_all_the_first_line_indent_spaces()Īpplication.ScreenUpdating = False 'close screen and refreshįor Each i In ActiveDocument.Paragraphs 'cycling in the pragraphs of the active document ![]() The VBA code of removing whitespace(space character or tab character) indents in all first line: Step 3: Then click Run button to apply the VBA. Step 2: Click Module on the Insert tab, copy and paste the following VBA code into the Module window ![]() Step 1: Press “ Alt-F11” to open the Microsoft Visual Basic for Application window ![]() You can use the following VBA code to remove whitespace (space character or tab character) indents in all first lines in the document.
0 Comments
Leave a Reply. |