Capatilising text

  • Thread starter Thread starter Linz
  • Start date Start date
L

Linz

Is there any way in Excel CAPATILSE all the words in a selection so there're
all changed at once. In lower case at the moment.

Thank to anyone that can help.

Linz
 
Hi,

Right click the sheet tab, view code and paste this in. Select your cells
and run the code:-

Sub capitalise()
Dim myrange As Range
Set myrange = Selection
For Each c In Selection
c.Value = UCase(c.Value)
Next c
End Sub

Mike
 
Linz said:
Is there any way in Excel CAPATILSE all the words in a selection so
there're all changed at once. In lower case at the moment.

Thank to anyone that can help.

Linz

You could use a formula such as =UPPER(A1), copied across an area as large
as your original area. Then copy the resulting area, select the top left
cell in your original area (such as A1), and use
Paste Special > Values
 

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

Similar Threads

Formatting existing data in fields. 2
IF formula 2
templates 2
Templates 1
Full window view 1
Text area for a footer 3
Extracting text from right to left using MID and FIND 6
Lower-Case Characters 2

Back
Top