返回列表 上一主題 發帖

[發問] 身分證代碼

dear  sir
  If Intersect([H5:H6], Target)    [H5:H6] 依需求變更即可

Private Sub Worksheet_Change(ByVal Target As Range)

    If Intersect([H5:H6], Target) Is Nothing Then Exit Sub

    Application.EnableEvents = False

    Target = UCase(Target)

    Application.EnableEvents = True

End Sub
羅

TOP

        靜思自在 : 甘願做、歡喜受。
返回列表 上一主題