capital letters

canablitz

New Member
Joined
Mar 17, 2002
Messages
19
hi, is there any way to get a column to automatically put a capital letter on the start of each word of the text thats been pasted in

BoB
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hi,

Unless you want some VBA I can't think of a way to do it automatically (someone may be able to correct me on this however).

If you're column starts in A1, you could always put this formula in B1 and drag it down:

=UPPER(LEFT(A1,1))&MID(A1,2,999)

Hope this helps,

Nibbs
 
Upvote 0
Argh! I'm being silly. If you only have one word in each cell you can just use:

=PROPER(A1)

Nibbs
 
Upvote 0
Select your cell(s) and run this macro :-

Sub TextProperCase()
Dim rng As Range, cell As Range
Set rng = Intersect(ActiveSheet.UsedRange, Selection)
For Each cell In rng
If cell.HasFormula = False Then
cell.Value = StrConv(cell.Value, vbProperCase)
End If
Next cell
End Sub
 
Upvote 0
Hello Friend :)

There are lots and lots of ways to do it,but the most convenient is :-
=UPPER(LEFT(A1,1))&MID(A1,2,999)
 
Upvote 0
On 2002-04-24 02:29, gareth wrote:
Hello Friend :)

There are lots and lots of ways to do it,but the most convenient is :-
=UPPER(LEFT(A1,1))&MID(A1,2,999)


This capitalises the first letter of only the first word in the cell.

=PROPER(A1) capitalises the first letter of all words in the cell.

In any event, it seems to me that the "most convenient" way is just to select the required cell(s) and click a button - which is all that is required by the suggestions from Aladin Akyurek and Afcb (both these suggestions convert all words to proper case).

It should be noted that Aladin Akyurek's suggestion will convert any cells containing formulas to values only. Afcb's suggestion converts only cells containing constant values.
 
Upvote 0

Forum statistics

Threads
1,213,553
Messages
6,114,279
Members
448,562
Latest member
Flashbond

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top