ªð¦^¦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 : ¡i®É¶¡¦pÆp¥Û¡j®É¶¡¹ï¤@­Ó¦³´¼¼zªº¤H¦Ó¨¥¡A´N¦pÆp¥Û¯ë¬Ã¶Q¡F¦ý¹ï·M¤H¨Ó»¡¡A«o¹³¬O¤@§âªd¤g¡A¤@ÂI»ù­È¤]¨S¦³¡C
ªð¦^¦Cªí ¤W¤@¥DÃD