ªð¦^¦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 : ¬Ý§O¤H¤£¶¶²´¡A¬O¦Û¤v­×¾i¤£°÷¡C
ªð¦^¦Cªí ¤W¤@¥DÃD