
我想将选定的单元格转换为大写或小写。有没有什么快捷键可以做到这一点?提前致谢。
答案1
使用以下函数:
Sub Uppercase()
For Each x In Selection
x.Value = UCase(x.value)
Next
End Sub
对于小写,使用LCase
而不是UCase
。
我想将选定的单元格转换为大写或小写。有没有什么快捷键可以做到这一点?提前致谢。
使用以下函数:
Sub Uppercase()
For Each x In Selection
x.Value = UCase(x.value)
Next
End Sub
对于小写,使用LCase
而不是UCase
。