eddyrcabrera79
Member
Hi,
I'm working with a Userform in excel and I found a macro to make the first letter of a word upper case in each cell, with this Userform I'm entering data in each cell.
This is what I require:
1 - How do I modify this code in order to make upper case the first letter of each word in each cell in column C and D
2 - In column B I will write a comment in a paragraph form. How can I make the first letter of the first word upper case and also after a dot space Ex:(Hi. How are you?)
Thank you in advance
I'm working with a Userform in excel and I found a macro to make the first letter of a word upper case in each cell, with this Userform I'm entering data in each cell.
Code:
For Each cell In Application.ActiveSheet.UsedRange
If (cell.Value <> "") Then
cell.Value = UCase(Left(cell.Value, 1)) & Right(cell.Value, Len(cell.Value) - 1)
End If
Next
This is what I require:
1 - How do I modify this code in order to make upper case the first letter of each word in each cell in column C and D
2 - In column B I will write a comment in a paragraph form. How can I make the first letter of the first word upper case and also after a dot space Ex:(Hi. How are you?)
Thank you in advance
Last edited by a moderator: