Individual words are detected but if the entire string is bold, false is returned. Am I missing something?
Comments: ``` //check for bolds if (y == 16 && item.Cell(y).HasRichText) { string storeHtml = rbm.toStr(item.Cell(y).Value); foreach (var richText in item.Cell(y).RichText) { if (richText.Bold) { storeHtml = storeHtml.Replace(richText.Text, "<b>" + richText.Text + "</b>"); } } array[y - 1] = storeHtml; } ``` Perhaps I shouldn't be using 'HasRichText.' How else would I know if there is bold text in the cell? Again, this works for bold items within the cell but not if the entire cell is bold text.
Comments: ``` //check for bolds if (y == 16 && item.Cell(y).HasRichText) { string storeHtml = rbm.toStr(item.Cell(y).Value); foreach (var richText in item.Cell(y).RichText) { if (richText.Bold) { storeHtml = storeHtml.Replace(richText.Text, "<b>" + richText.Text + "</b>"); } } array[y - 1] = storeHtml; } ``` Perhaps I shouldn't be using 'HasRichText.' How else would I know if there is bold text in the cell? Again, this works for bold items within the cell but not if the entire cell is bold text.