ªð¦^¦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¥Í©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