Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Bryant Smith   on Sep 20 In MS Office Category.

  
Question Answered By: Tasha Wheeler   on Sep 20

* You could try this code.
* Right-click on the desired sheet tab and put the code in the
sheet's class module.
* Change Range("A:A") to reflect your needs.


Private Sub Worksheet_Change(ByVal Target As Excel.Range)
Dim rngISect As Range

Set rngISect = Intersect(Target, Range("A:A"))

On Error Resume Next
If Not rngISect Is Nothing And Target.Value <> "" Then
Application.EnableEvents = False
Target.Value = UCase(Target.Value)
Application.EnableEvents = True
End If

End Sub

Share: 

 
 
Didn't find what you were looking for? Find more on Caps in a cell Or get search suggestion and latest updates.


Tagged: