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
- Mar 13 Thu 2008 20:43
Search on uppercase text
close
全站熱搜
留言列表
發表留言
留言列表

