pedie
Well-known Member
- Joined
- Apr 28, 2010
- Messages
- 3,875
I want to cell value in A1 be UPPER but i dont want to use something like this
From the code below how can i make the code cell value to be in Upper only in A1...
Thanks for helping!
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count > 1 Or Target.HasFormula Then Exit Sub
On Error Resume Next
If Not Intersect(Target, Range("A1")) Is Nothing Then
Application.EnableEvents = False
Target = UCase(Target)
Code:
Sub try121()
Cells(1).Value = Sheet2.Name
End Sub
Thanks for helping!