Goal:
The goal is to gain the result from the picture below
Problem:
The current situation is below
How should I do it in order to gain the result in the goal by using VBA code.
Try this code
Sub sample()
Range("B4:E7") = [index(upper(B4:E7),)]
End Sub