need VBA to Cap first letter in each cell in one column

skyport

Active Member
Joined
Aug 3, 2014
Messages
374
As always I return to the great resource of Mr. Excel on this one.

I have column G on sheet 2 which will have data inputted. The first letter in each cell in column G needs to be upper case but done in a manner that does not eliminate the existing caps to other words in the sentence within the cells.

EXAMPLE: my impression is that Mary is the right choice for Montana.

The result should cap the word "my" but still also leave Mary and Montana in upper case.

The reason this needs to be a VBA and not a formula is because the cells in column G already contain a formula for another purpose.

Can anyone help with this one pleae?
 
Hiker 95, thanks again, the code worked perfect. Always good to see you again with great solutions.

skyport,

Thanks for the feedback.

You are very welcome. Glad I could help again.

And, come back anytime.
 
Upvote 0

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,214,827
Messages
6,121,818
Members
449,049
Latest member
cybersurfer5000

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