close

Hello ~ formatting a very large spreadsheet - i need to search on text that
is in uppercase - and then bold that text. How do i search on that? Thanks!

One way, using a macro:

Public Sub BoldUpperCaseText()
Dim rTextCells As Range
Dim rCell As Range
On Error Resume Next 'in case no text constants
Set rTextCells = ActiveSheet.Cells.SpecialCells( _
xlCellTypeConstants, xlTextValues)
On Error GoTo 0
If Not rTextCells Is Nothing Then
For Each rCell In rTextCells
With rCell
If .Value = UCase(.Text) Then .Font.Bold = True
End With
Next rCell
End If
End Sub

If you're not familiar with macros, see

www.mvps.org/dmcritchie/excel/getstarted.htm
In article gt;,
Nadiya gt; wrote:

gt; Hello ~ formatting a very large spreadsheet - i need to search on text that
gt; is in uppercase - and then bold that text. How do i search on that? Thanks!

You could also apply conditional formating.
Select all cells then, in Format|Conditional Formatting... Use
FormulaIs:
Supply the following formula:
=EXACT(A1, UPPER(A1))

HTH
Kostis Vezerides

全站熱搜
創作者介紹
創作者 software 的頭像
software

software

software 發表在 痞客邦 留言(0) 人氣()