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

[µo°Ý] application.inputbox »Pinputbox ¨Ï¥Î¦³¦ó®t²§

[µo°Ý] application.inputbox »Pinputbox ¨Ï¥Î¦³¦ó®t²§

¤@¡B   Application.InputBox
    AA = Application.InputBox("½Ð¿é¤J", "±K½X")
    ³z¹Lª«¥ó°õ¦æ (¨Ò¦p¦b¤u§@ªí³]¤@¤è¶ô¡A¥¨¶°«ü¨ì¦¹¼Ò²Õ°õ¦æ)
                       ¤è¦VÁä¡ô¡õ¡ö¡÷¥¢®Ä Àx¦s®æµLªk§Q¥Î¤è¦VÁä²¾°Ê¡A¥Î·Æ¹«¥i¥H
  ª½±µ±qµ{¦¡½Xª½¦æ ¤è¦VÁä ¥¿±`¥i²¾°Ê

¤G¡BInputBox  
    AA = InputBox("½Ð¿é¤J", "±K½X")
   ³z¹Lª«¥ó°õ¦æ ¤è¦VÁä ¥¿±`¥i²¾°Ê
  ª½±µ±qµ{¦¡½Xª½¦æ ¤è¦VÁä ¥¿±`¥i²¾°Ê

¥i°Ñ¬Ýªþ¥ó
¥H«e³£¨Sª`·N¡A¬°¦ó¦³¦¹®t²§¡A¦³µL°ª¤â¥i¨ó§U

INPUTBOX °ÝÃD.rar (7.08 KB)

£«§g

¥»©«³Ì«á¥Ñ GBKEE ©ó 2011-5-20 13:14 ½s¿è

¦^´_ 1# amay_lin
½Ð¸Ô¬Ý VBA»¡©ú  InputBox ¨ç¼Æ  , InputBox ¤èªk
InputBox ¨ç¼Æ  Åã¥Ü¤@¹ï¸Ü¤è¶ô¨Ó°µ¬°´£¥Ü¡Aµ¥¨Ï¥ÎªÌ¿é¤J¤å¦r©Î«ö¤U«ö¶s¡A¨Ã¶Ç¦^¥]§t¤å¦r¤è¶ô¤º®eªºString¡C(¦r¦ê)
InputBox(prompt[, title] [, default] [, xpos] [, ypos] [, helpfile, context])

InputBox ¤èªk
expression.InputBox(Prompt, Title, Default, Left, Top, HelpFile, HelpContextId, Type)
Type ¥i¬°¥H¤W¤¹³\­Èªº©M¡C¨Ò¦p¡A¹ï¥i¿é¤J¤å¦r©M¼Æ¦ì¿é¤J¤è¶ô¡A¥i±N Type ³]©w¬° 1 + 2¡C
­È·N¸q
0¤½¦¡
1¼Æ¦r
2¤å¦r (¦r¦ê)
4ÅÞ¿è­È (True ©Î False)
8Àx¦s®æ°Ñ·Ó¡A§@¬° Range ª«¥ó
16¿ù»~­È¡A¤ñ¦p #N/A
64¼Æ­È°}¦C

TOP

¸Óª`·Nªº¬O"¤èªk"»P"¨ç¼Æ"¬O¦³¤Àªº
¤£¯à²V¬°¤@½Í

TOP

ÁÂÁ¤j¤j­Ì
§Ú¤w¸g·dÀ´¤F
£«§g

TOP

        ÀR«ä¦Û¦b : ¹D¼w¬O´£ª@¦Û§Úªº©ú¿O¡A¤£¸Ó¬O¨þ¥¸§O¤HªºÃ@¤l¡C
ªð¦^¦Cªí ¤W¤@¥DÃD