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

[µo°Ý] ¤£¦n·N«ä®e§Ú°Ý­ÓÄø°ÝÃD

[µo°Ý] ¤£¦n·N«ä®e§Ú°Ý­ÓÄø°ÝÃD

¥i¥H°Ý¤@­ÓÄø°ÝÃD¶ÜXD?
¦pªGµ{¦¡°õ¦æµL­­°j°é¦³¥]§tmsgbox»yªkªº®É­Ô¡A«öEscµLªk¤¤¤îµ{¦¡«ç»ò¿ì? ­n¦p¦ó¤¤¤î¦¹ÃþµL­­°j°é? (¤£·Q¶}¤u§@ºÞ²z­û±j¨îÃö³¬Excel)
  1. do
  2.     i = i + 1
  3.     msgbox (i - 1)
  4.     i = 1
  5. loop
½Æ»s¥N½X
«ô°Uª©¥D¡A¦pªG¦¹¤å¤Ó§C¯à¡A¤]½ÐÅý§Ú¥ý±o¨ìµª®×¦A§R¤å¡A·P¿E¤£ºÉ!

¦^´_ 1# VBALearner

Sub ex()
    Do
    a = MsgBox(a, 3)
    If a = 2 Then Exit Do
    Loop
End Sub
'±`¼Æ ­È ´y­z
'vbOK 1 OK
'vbCancel 2 Cancel
'vbAbort 3 Abort
'vbRetry 4 Retry
'vbIgnore 5 Ignore
'vbYes 6 Yes
'vbNo 7 No
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

¦^´_ 1# VBALearner
  1. Do
  2.         i = i + 1
  3.         If MsgBox((i - 1), vbYesNo) = vbNo Then Exit Do
  4.         i = 1
  5.     Loop
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

ctrl + break

TOP

¦^´_ 4# jackyq

³á³áÁÂÁ±z!

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