Forum Discussion
Balancing Brackets
LimehouseJohnYou could assign a macro containing the following code to the keyboard shortcut e.g. ALT+9
With Selection
.InsertBefore "("
.InsertAfter ")"
.Collapse wdCollapseStart
.MoveRight wdCharacter, 1
End With
and, for [ ], have another one containing the following code assigned to ALT+SHIFT+9
With Selection
.InsertBefore "["
.InsertAfter "]"
.Collapse wdCollapseStart
.MoveRight wdCharacter, 1
End With
You could use a similar macro with { } for a pair of curly braces, assigned to, say ALT+CTRL+9
To make suggestions for changes to Word, use the Feedback facility accessible by clicking on the Help tab of the ribbon.
Doug_Robbins_Word_MVPThat's perfect and works well - thank you very much.
I don't suppose that you know how I could get the identical keyboard shortcuts into Outlook (365) for when I'm writing an email perchance - I should be really grateful if you did.
Thanks very much - even if you don't.
Best regards
LimehouseJohn
- Jun 08, 2022It's no where near as straight forward in Outlook and I would think that if the message is that complex, it might be better to compose it in Word and then copy and paste into Outlook.