Making font to be in small size

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Could someone help me how to make sure that text entered in a column will be
without capital characters (only small letters)
 
Ruslan

The code you want to use is the Event code from Chip's page.

Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
If Not Application.Intersect(Target, Range("A1:A10")) Is Nothing Then
Target(1).Value = UCase(Target(1).Value)
End If
Application.EnableEvents = True
End Sub

Copy this code then right-click on your worksheet tab and "View Code"

Paste in there.

Change the UCase to LCase and adjust the range A1:A10 to whatever you wish.

Gord Dibben Excel MVP
 
You did put the code behind the correct worksheet?

And you did your typing in the range that you specified in the code?

(It won't affect values already there, but if you type something new, it should
work.)

If you still have trouble, post your version of the routine.
 
Ruslan

What Dave said.....<g>

Gord


You did put the code behind the correct worksheet?

And you did your typing in the range that you specified in the code?

(It won't affect values already there, but if you type something new, it should
work.)

If you still have trouble, post your version of the routine.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top