caslatino.blogg.se

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









how to do first line indent in word 2013

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()

how to do first line indent in word 2013

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.Ģ.

how to do first line indent in word 2013

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 do first line indent in word 2013