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

¦p¦óÅýa=a+1²Ö¥[

¥»©«³Ì«á¥Ñ av8d ©ó 2013-11-15 11:50 ½s¿è

¦^´_ 2# GBKEE


    test.rar (442.97 KB)

¨S¦³§@¥Î~¦A¦¸·PÁÂ!

TOP

¥»©«³Ì«á¥Ñ GBKEE ©ó 2013-11-14 17:20 ½s¿è

¦^´_ 1# av8d
¨t²Î±±¨îÅv¦b UserForm µLªk°õ¦æ¦Û©wªº²Õ¦XÁä
UserForm1.Show False  ªí³æ¬°¬O«D±j¨î¦^À³ªº¡C(¨t²Î±±¨îÅv¥iÂಾ¨ì¤u§@ªí)
UserFormªºµ{¦¡½X
  1. Option Explicit
  2. Sub CommandButton1_Click()
  3.     MsgBox CommandButton1.Caption
  4. End Sub
  5. Private Sub UserForm_Initialize()
  6.     Application.OnKey "^h", "Ex"
  7. End Sub
  8. Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)
  9.     Application.OnKey "^h"   '¦p¬°¨t²Î¹w³]²Õ¦XÁä:ÁÙ­ì­ì¨Óªº«ü¥O
  10. End Sub
½Æ»s¥N½X
¤@¯ë¼Ò²Õªºµ{¦¡½X
  1. Option Explicit
  2. Sub Ex()
  3.     UserForm1.CommandButton1_Click
  4. End Sub
  5. Sub Ex1()
  6.     UserForm1.Show False
  7. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¶}±ÒUserForm1«á~ ¦p¦ó³]©w«ö¤UCtrl+Enter«á°õ¦æCommandButton1

¤@¯ëUserForm1¤º·|¦³³\¦h¤¸¥ó~³Ì±`¨£ªº´N¬OCommandButton1«ö¶s
¦p¦ó«ö¤UCtrl+Enter«á¡A¥i¥HÀ°§Ú«ö¤UCommandButton1«ö¶s

TOP

        ÀR«ä¦Û¦b : ­ì½Ì§O¤H´N¬Oµ½«Ý¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD