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

[µo°Ý] ½Ð°ÝVBA¤§¼gªk ¦p¦ó©ó°õ¦æMsgBox®É ¥²¶·¸g¹L½T»{

[µo°Ý] ½Ð°ÝVBA¤§¼gªk ¦p¦ó©ó°õ¦æMsgBox®É ¥²¶·¸g¹L½T»{

¥»©«³Ì«á¥Ñ lcctno ©ó 2015-12-22 08:54 ½s¿è

½Ð°ÝVBA¤§¼gªk  
¦p¦ó©ó°õ¦æMsgBox®É ¥²¶·¸g¹L½T»{ ¤~·|°õ¦æ°Ê§@
ÁÂÁ±оÉ

§Ú¸Õ¹L ¦ýµLªk°õ¦æ???


Sub ²M°£¶R±i¼Æ¤Î»ù¦ì()

style = 4
title = "²M°£¶R±i¼Æ¤Î»ù¦ì"
response = MsgBox(msg, style, title)

    If Yes Then
    Range("A3:A65536").Select
    Selection.ClearContents
    Range("C3:C65536").Select
    Selection.ClearContents
Else

End If

End Sub





Book1.zip (62.26 KB)

¥»©«³Ì«á¥Ñ ­ã´£³¡ªL ©ó 2015-12-22 10:08 ½s¿è

°Ñ¦Ò³o¡G
¸ß°Ý«¬msgbox¡I
http://forum.twbts.com/redirect. ... 0&fromuid=13768

msg = MsgBox("½T»{­n§R°£¤u§@ªí¶Ü¡H", 1 + 32 + 256) ¡@¡@'vbOK ©Î vbCancel
msg = MsgBox("½T»{­n§R°£¤u§@ªí¶Ü¡H", 4 + 32 + 256)¡@¡@ 'vbYes ©Î vbNo

TOP

¦^´_ 2# ­ã´£³¡ªL

§Ú¦³¸Õ¹L ¦ýÁÙ¬O¥u¦³¸ß°Ýªºµe­±
¦ýÁÙ¬O¤£·|¶i¦æ²M°£¶R±i¼ÆAÄæ¤Î»ù¦ìCÄæ
¤£ª¾¹D¨º¸Ì¼g¿ù¤F
Áٽбz«ü¾É
ÁÂÁÂ

---------------------------------------------------
Sub ²M°£¶R±i¼Æ¤Î»ù¦ì()

msg = MsgBox("½T»{­n²M°£¶R±i¼Æ¤Î»ù¦ì¡H", 1 + 32 + 256)

    If Yes Then
    Range("A3:A65536").Select
    Selection.ClearContents
    Range("C3:C65536").Select
    Selection.ClearContents
Else

End If

End Sub
----------------------------------

TOP

¦^´_ 3# lcctno


If msg = vbOK Then

End If

TOP

        ÀR«ä¦Û¦b : ¡i»X½ªªº¦Û¥Ñ¡j¤H±`¦b¤°»ò³£¥i¥H¦Û¥Ñ¦Û¦bªº®É­Ô¡A«o³Q³oºØÀH¤ß©Ò±ýªº¦Û¥Ñ»X½ª¡AµêÂY®É¥ú¦Ó²@µLıª¾¡C
ªð¦^¦Cªí ¤W¤@¥DÃD