大写和小写的宏


0

在我的Excel电子表格中,我有单词的单元格,有些单元格都是大写的,有些是小写的,有些是混合的。有没有办法让所有单元格将第一个字母显示为大写,其他字母显示为小写?


2
你只想改变吗? 显示 的话,或者你想真正改变
Adam

我同意Adam的观点,这听起来像是一个格式问题,而不是一个计算问题。但最好确定一下。
George Erhard

Answers:


1

你可以混合使用 UPPER()LOWER() 要得到 所有 除第一个字母小写以外的文字:

=UPPER(LEFT(A1,1))&LOWER(MID(A1,2,LEN(A1)-1))

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.