Share via

macros - wildcards, change all the text between parentheses, including the parentheses to bold. how can i do that

Anonymous
2012-01-06T12:58:37+00:00

i have a big file on microsoft word 2010, and it includes alot of words between parentheses , example: abcd (111) cdis (vfdfg). so what i wanna do it change all the text between parentheses , including the parentheses to bold. how can i do that? i need the code for macros, or wildcards.

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. HansV 462.6K Reputation points MVP Volunteer Moderator
    2012-01-06T13:32:42+00:00

    Press Ctrl+H to activate the Replace dialog.

    Click More >>.

    Tick the check box Use wildcards.

    In the Find what box, enter (*)

    Click in the Replace box.

    Leave it blank, but next click Format > Font... at the bottom of the dialog.

    Click on Bold, then click OK.

    Click Replace All.

    2 people found this answer helpful.
    0 comments No comments

Answer accepted by question author

  1. Doug Robbins - MVP - Office Apps and Services 322.9K Reputation points MVP Volunteer Moderator
    2012-01-06T13:36:18+00:00

    i have a big file on microsoft word 2010, and it includes alot of words between parathesses, example: abcd (111) cdis (vfdfg). so what i wanna do it change all the text between parathesses, including the parathesses to bold. how can i do that? i need the code for macros, or wildcards.

    In the Find and Replace dialog, click on the More button and check the Wildcard box and then in the Find what control enter

    ((*))

    and in the Replace with Control, enter

    \1

    and with the selection still in the Replace with control, click on the Format button and then on Font and the select Bold from the Font style list. Then click on OK to dismiss the Font Dialog and then back in the Find and Replace dialog, click on Replace All

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful