I am giving you just an example what to achieve:
It is working one range but how to add also another range Range("M2:M1000") like above example:
Sub Uppercase()
' Loop to cycle through each cell in the specified range.
For Each x In Range("K2:K1000")
For Each x In Range("M2:M1000")
' Change the text in the range to uppercase letters.
x.Value = UCase(x.Value)
Next
End Sub
Need help.
Sub Uppercase()
' Loop to cycle through each cell in the specified range.
For Each x In Range("A1:A5")
' Change the text in the range to uppercase letters.
x.Value = UCase(x.value)
Next
End Sub
Bookmarks