Have a look at the PROPER() function...
You may be able to use it and then copy/paste special >> Values over the original data.
Have a look at the PROPER() function...
You may be able to use it and then copy/paste special >> Values over the original data.
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Or you could try code from Link
http://www.cpearson.com/excel/ChangingCase.aspx
VBA Noob![]()
Sub ChangeCase() Dim Rng As Range On Error Resume Next Err.Clear Application.EnableEvents = False For Each Rng In Selection.SpecialCells(xlCellTypeConstants, _ xlTextValues).Cells If Err.Number = 0 Then ' Rng.Value = StrConv(Rng.Text, vbUpperCase) ' Rng.Value = StrConv(Rng.Text, vbLowerCase) ' Rng.Value = StrConv(Rng.Text, vbProperCase) End If Next Rng Application.EnableEvents = True End Sub
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
Hi Guy's,
Thanks for your posts
I tried the PROPER() way, but it was too simple for me as I couldn't get it to work? However.... I also tried the VB code and it workedSo I'm well pleased.
I'll have another play with the PROPER() code to try and see why I couldn't get it to work.
Thanks again for your help![]()
See if links help with the proper function
http://www.bettersolutions.com/excel...P612022322.htm
http://www.techonthenet.com/excel/formulas/proper.php
http://office.microsoft.com/en-us/ex...625731033.aspx
Glad the code helped
VBA Noob
hi gents
im trying to learn excel in every way and although i never will
i always try the suggestions on this board to se eif one day they will help me
ive tried this macro and cant get it to run for me
i input my data and then run the macro but nothing happens
why is this
stevesunfold,
You should know the rules by now. Please start your own thread after re-reading the forum rules below.
VBA Noob
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks