Replace bold text with <b>...</b> in MS Word without macros

3

1

I have a text with bold & italic font and I need to convert it to html. First, I need to convert bold text to .... I found some solutions, but all of them uses VBA code. Is it possible to fix it with search&replace (it is possible to search for bold text in Word 2007 for example).

alex52

Posted 2010-08-03T07:47:56.783

Reputation: 33

This did not work for me But the same promise is hold here(https://superuser.com/questions/219527/replace-b-b-with-bold-in-ms-word-with-macros)

– olippuner – 2017-06-24T18:24:12.053

Answers

12

Tested in Word 2010:

In the search and replace dialog:

  • Leave the Find what: field blank
  • In the Replace with: put <b>^&</b>
  • In the Format -> Font section, select Bold
  • Replace All

This will put the tags around your bold text. They and the original text will still be bold but that shouldn't be an issue for most purposes.

Mike Fitzpatrick

Posted 2010-08-03T07:47:56.783

Reputation: 15 062

Any idea why my word 2010 changes Word to Word<i></i> instead of <i>Word</i> when I try your example – mplungjan – 2018-08-28T07:59:43.287

Any ideas if there is a way to do this in Excel? I tried this method but it doesn't seem Excel interprets this correctly: ^&. – StatsStudent – 2019-08-01T06:27:43.780