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).

link|improve this question
feedback

1 Answer

up vote 3 down vote accepted

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.

link|improve this answer
Thank you, Mike! – alex52 Aug 3 '10 at 9:09
You're welcome. Welcome to superuser. – Mike Fitzpatrick Aug 3 '10 at 9:20
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.