S Shawn Jan 25, 2010 #1 I need a code that will search a range (say, A1:A10) and convert everything in that range to all caps?
I need a code that will search a range (say, A1:A10) and convert everything in that range to all caps?
J Jacob Skaria Jan 25, 2010 #2 Try Sub Macro() Dim cell As Range For Each cell In Range("A1:A10") If Not cell.HasFormula Then cell.Value = UCase(cell.Value) Next End Sub
Try Sub Macro() Dim cell As Range For Each cell In Range("A1:A10") If Not cell.HasFormula Then cell.Value = UCase(cell.Value) Next End Sub
S sebastico May 19, 2010 #3 Jacob Many thanks Your code works great Jacob Skaria said: Try Sub Macro() Dim cell As Range For Each cell In Range("A1:A10") If Not cell.HasFormula Then cell.Value = UCase(cell.Value) Next End Sub Click to expand...
Jacob Many thanks Your code works great Jacob Skaria said: Try Sub Macro() Dim cell As Range For Each cell In Range("A1:A10") If Not cell.HasFormula Then cell.Value = UCase(cell.Value) Next End Sub Click to expand...