View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default lowercase to uppercase

Sub caps_it()
For Each r In Selection
If Not IsEmpty(r) Then
r.Value = UCase(r.Value)
End If
Next
End Sub

--
Gary''s Student - gsnu200720


"Pekka" wrote:

Hi
How could I change (VBA code) every lowercase letter in a certain range into
a uppercase letter ?