ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ¦³­ÓÀx¦s®æ¤ë¾äªº°ÝÃD

If Target.Column <> 2 and Target.Column <> 3 Then Exit Sub

TOP

¥i¥HÀ°§Ú¬Ý¤@¤U­þ¦³°ÝÃD¡H§Ú·Q­nÂI¤@­Ó¥u¥X²{¤@­Ó¤ë¾ä¦ý¸Õ¤£¥X¨Ó

·s¼WMicrosoft Excel ¤u§@ªí (4).zip (14.33 KB)

TOP

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Count > 1 Then Exit Sub
If Target.Column = 2 Then
Calendar1.Visible = True
Calendar2.Visible = False

ElseIf Target.Column = 3 Then
Calendar2.Visible = True
Calendar1.Visible = False
Else
Calendar1.Visible = False
Calendar2.Visible = False
End If
End Sub

TOP

¤Ó·PÁ¤F~§Úªº°ÝÃD¸Ñ¨M¤F!!!

TOP

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    Calendar1.Visible = False
    Calendar2.Visible = False
    If Target(1).Column = 2 Then
        Calendar1.Visible = True
    ElseIf Target(1).Column = 3 Then
        Calendar2.Visible = True
    End If
End Sub

TOP

        ÀR«ä¦Û¦b : ¡i¥Í©R¦b©I§l¶¡¡j¦òªû»¡¡G¡u¥Í©R¦b©I§l¶¡¡C¡v¤HµLªkºÞ¦í¦Û¤vªº¥Í©R¡A§óµLªk¾×¦í¦º´Á¡AÅý¦Û¤v¥Ã¦í¤H¶¡¡C¬JµM¥Í©R¥h¨Ó³o»òµL±`¡A§Ú­Ì§óÀ³¸Ó¦n¦n¦a·R±¤¥¦¡B§Q¥Î¥¦¡B¥R¹ê¥¦¡AÅý³oµL±`¡BÄ_¶Qªº¥Í©R¡A´²µo¥¦¯uµ½¬üªº¥ú½÷¡A¬M·Ó¥X¥Í©R¯u¥¿ªº»ù­È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD