#1
|
|||
|
|||
How to put each word into one bracket
Hello,
I want to do the following thing but i didn't found how : Word1, Word2, Word3, Word4 -> [Word1], [Word2], [Word3], [Word4] Or if it's easier : Word1 [Word1] Word2 [Word2] Word3 [Word3] Word4 [Word4] Colors just for more clarity, red before and green after. |
#2
|
|||
|
|||
Are you trying to transform the items in red to the same word except in brackets, or are you trying to group them?
|
#3
|
|||
|
|||
Quote:
I have a lot of words and it's a hassle to do manually so I wanted to know if there was a easier way to do it (I know the CTRL+H option but I have no idea how to format what I want to do) |
#4
|
|||
|
|||
I would try highlighting the words and try:
FIND ", " (that is, a typed comma and a typed space) REPLACE "], [" (that is, close bracket, comma, space, open bracket] You would still have to open bracket your first word and close bracket your last one, but if there a bunch of comma-separated words in a string, that would do most of it rather simply. If you are interested in a VBA solution, this thread may guide you there, as it's asking something similar, only with quotation marks. https://www.msofficeforums.com/word-...dd-single.html |
#5
|
|||
|
|||
Quote:
Hello, Thank you for your suggestion, i have tried it and it worked perfectly and allowed as well to understand better how the "find/replace" function works. Thank you as well for the link, i do am interested as well seeing a VBA solution. Have a nice day. |
Tags |
bracket |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Conditional format for NCAA bracket | JoemanNville | Excel | 0 | 03-25-2019 01:45 PM |
Remove repeated number after square bracket | jeffreybrown | Word VBA | 8 | 12-04-2018 06:01 PM |
Inside Bracket Formula tabulation question | 27Cool44 | Excel | 2 | 02-11-2018 07:40 AM |
Word 2010 - Remove square-bracket encased string in large document | IntestinalWorm | Word | 1 | 06-20-2017 01:14 AM |
Problem in Size of bracket[] and Parenthesis() | ali-M | Word | 0 | 12-04-2016 02:51 AM |