返回列表 上一主題 發帖

[發問] 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

如果要完全自動。
參考你另一帖
身分證代碼
http://forum.twbts.com/thread-16089-1-1.html

TOP

用公式 UPPER可以達成。

TOP

        靜思自在 : 屋寬不如心寬。
返回列表 上一主題