Capitalizing the First character of a name using input mask

n_m

New Member
Joined
May 18, 2005
Messages
2
Hi,

Am trying to do the above & am finding that '> ' function capitalizes all the letters - is there any way of forcing caps on the first character?

Thanks in advance
 
Hi,

Am trying to do the above & am finding that '> ' function capitalizes all the letters - is there any way of forcing caps on the first character?

Thanks in advance
Try this in Field Properties---> Input Mask
!>L<??????!>L<????????!>L<??????????

It allows you (6) Chr's for the first name - (8) Chr's for a middle name and (10) Chr's for the last name. (You can change num. as you wish).

Ayman
 
Upvote 0

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Just use Ucase(Left(textfield),1) and concatenate the rest?
 
Upvote 0
Input masks are somewhat limited so code is often best. But maybe like
>?<?????>?<?????????>?<?????????
 
Upvote 0
Ayman,
FYI, this thread is from 2005! (You must have had to really dig deep to find this)!
 
Upvote 0
Crikey, I blame WGM. Apparently he should be enjoying Corona or tequila in Mexico instead of lurking in forums. Then again, that could explain why he didn't notice that. :biggrin:
 
Upvote 0
Crikey, I blame WGM. Apparently he should be enjoying Corona or tequila in Mexico instead of lurking in forums. Then again, that could explain why he didn't notice that. :biggrin:
To be fair, the poster before me resurrected it and I admit I never noticed . :( Sorry guys.

@Micron I am a Dos Equis man BTW :)
 
Upvote 0
To be fair, the poster before me resurrected it and I admit I never noticed . :( Sorry guys.
That is why my reply was not directed at you! ;)

I think it was the case of a solution in search of a question.
 
Upvote 0

Forum statistics

Threads
1,224,928
Messages
6,181,811
Members
453,067
Latest member
mdiz777

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