返回列表 上一主題 發帖

[發問] abc-8888 自動轉化 ABC-888...

詳看附件:
  1. Private Sub Worksheet_Change(ByVal Target As Range)
  2. If Application.Intersect([E3:E1002], Target) Is Nothing Then Exit Sub
  3. Application.EnableEvents = 0
  4. Target.Value = UCase(Target.Value)
  5. Application.EnableEvents = 1
  6. End Sub
複製代碼

zz.zip (13.34 KB)

TOP

        靜思自在 : 吃苦了苦、苦盡廿來,享福了福、福盡悲來。
返回列表 上一主題