Word 2010: moving a block of text four columns right

User avatar
John Gray
PlatinumLounger
Posts: 5447
Joined: 24 Jan 2010, 08:33
Location: A cathedral city in England

Word 2010: moving a block of text four columns right

Post by John Gray »

I used to know which keyboard shortcut(s) would do this, but I have both forgotten and cannot find the shortcuts on searches.

I have a block (that is, lots of lines) of mono-spaced text which I want to move four columns to the right to leave four blank spaces at the front of each line. How to do, please?
John Gray

All my life I have tried multiplying really large numbers by zero.
That amounted to nothing.​​

User avatar
HansV
Administrator
Posts: 78917
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Word 2010: moving a block of text four columns right

Post by HansV »

That sounds like functionality WordPerfect might have had. It's not a native feature of Word.

May I assume that the Increase Indent button on the Home tab of the ribbon does not satisfy your requirement?
Best wishes,
Hans

User avatar
John Gray
PlatinumLounger
Posts: 5447
Joined: 24 Jan 2010, 08:33
Location: A cathedral city in England

Re: Word 2010: moving a block of text four columns right

Post by John Gray »

Hans: I'm sure you told me how to do it last time! But it was a long time ago...
John Gray

All my life I have tried multiplying really large numbers by zero.
That amounted to nothing.​​

User avatar
HansV
Administrator
Posts: 78917
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Word 2010: moving a block of text four columns right

Post by HansV »

Will each line be a separate paragraph?
Best wishes,
Hans

User avatar
John Gray
PlatinumLounger
Posts: 5447
Joined: 24 Jan 2010, 08:33
Location: A cathedral city in England

Re: Word 2010: moving a block of text four columns right

Post by John Gray »

Yes - I'm only using Word because there are too many 'poison characters' in this text file to enable me to process it with a BATch file. Format is

Code: Select all

15 Mar 2017  All 2860 routers: added new remote user for [Loc]Support to each 2860
               Updated config descriptions, backed up configs
             Cotswold: problems with Windows updates - CAB13M has not restarted
I am trying to move everything right to be able to insert the three-day Day of the Week abbreviation in front of the date.

Something to do with Ctrl+F9 rings a vague bell, with the right arrow key moving Stuff right - but it isn't that...
John Gray

All my life I have tried multiplying really large numbers by zero.
That amounted to nothing.​​

User avatar
HansV
Administrator
Posts: 78917
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Word 2010: moving a block of text four columns right

Post by HansV »

You could create this macro:

Code: Select all

Sub InsertSpaces()
    Dim par As Paragraph
    For Each par In Selection.Paragraphs
        par.Range.InsertBefore Space(4)
    Next par
End Sub
If you need to run it frequently, you can assign it to a custom keyboard shortcut.
Best wishes,
Hans

User avatar
John Gray
PlatinumLounger
Posts: 5447
Joined: 24 Jan 2010, 08:33
Location: A cathedral city in England

Re: Word 2010: moving a block of text four columns right

Post by John Gray »

Thanks, Hans - annoyingly it's just a one-off...
John Gray

All my life I have tried multiplying really large numbers by zero.
That amounted to nothing.​​