nsaauto.blogg.se

How to undo first line indent in word 2013
How to undo first line indent in word 2013






You can't replace by simply typing ghe tab key directly into the Find box, because it will respond by moving the cursor to the next box, but it will accept the indented space if you copy it into the Find box with Copy and Paste.Ĭall up your document, go to the start of one of the indented spaces at the start of a paragraph, highlight it by holding down Shift +right arrow key, and copy with Control-C.Call up Find and Replace, put the cursor into the Find box, and Paste (Control-V). Click Run button or Press F5 key to apply the VBA code.Īctually I have found an easy way to do this, when I had a book typed in Word with the first line of each paragraph indented with the Tab key, and I wished to abolish the indents. If i.Range.Characters(1).Text = " " Or i.Range.Characters(1).Text = " " Or i.Range.Characters(1).Text = Chr(9) ThenĪpplication.ScreenUpdating = True 'restore screen and refreshģ. 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 FirstLineIndent = CentimetersToPoints(0) VBA: Remove all indents from selection or the whole document in Word Sub remove_indents() Press Alt + F11 keys together to open the VBA window, click Insert > Module to create a new Module window, and then paste below code into the window: Select the paragraphs or the whole document you will remove all indents from.Ģ. If you are good at Macro, the VBA code is also available for you to remove all indents from selection or the whole Word document easily.ġ.








How to undo first line indent in word 2013