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

¦p¦ó±±¨î«ü¥O«ö¶s¦¸¼Æ??

¦p¦ó±±¨î«ü¥O«ö¶s¦¸¼Æ??

«ü¥O«ö¶s¦WºÙ¬° CommandButton1 ­n¦p¦ó±±¨î«ö¶s¦¸¼Æ
ex:¥u¯à«ö1¦¸´N¦b¤£°Ê§@ ©ÎªÌ «ö3¦¸´N¦b¤£°Ê§@
­«¶}excel ´N­«·s¥Ñ0¶}©l­pºâ
¤£ª¾¬O§_¥i¦æ??

¤u§@ªí¼Ò²Õ
Private Sub CommandButton1_Click()
Static x
x = x + 1
'§A­n°µªº¤u§@
If x = 3 Then CommandButton1.Enabled = 0
End Sub
---------------------------------------
This WorkBook¼Ò²Õ
Private Sub Workbook_Open()
Sheet1.CommandButton1.Enabled = 1
End Sub

TOP

·PÁª©¥D½ç±Ð~

TOP

        ÀR«ä¦Û¦b : ¦³Ä@©ñ¦b¤ß¸Ì¡A¨S¦³¨­Åé¤O¦æ¡A¥¿¦p¯Ñ¥Ð¤£¼½ºØ¡A¬Ò¬OªÅ¹L¦]½t¡C
ªð¦^¦Cªí ¤W¤@¥DÃD