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

¦p¦óÅýinputbox ³sÄò²£¥Í

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

If ST = "" Then Exit Do¡@¥¼¿é¤J¡A«ö¡eEnter¡f©Î¡e½T©w¡f¤´µM·|¸õ¥X¡A

¦]¦¹­n¤À¿ë¬O«ö¡e¨ú®ø¡f¡HÁÙ¬O¡e¥¼¿é¤J¡f¡H
¥t­Ó¤è¦¡¡G
  1. Sub Find_No()
  2. Dim ST, xF As Range
  3. Do
  4. ¡@ST = Application.InputBox("¼Æ¦r")
  5. ¡@If ST & "" = "False" Then Exit Do '«ö¡e¨ú®ø¡f¸õ¥X
  6. ¡@If ST = "000" Then Exit Do '¿é¤J¡e¯S©w­È¡f¸õ¥X
  7. ¡@If ST <> "" Then
  8. ¡@¡@¡@Set xF = [®Ñ¥»²M¥U!A2:A50].Find(ST, Lookat:=xlWhole)
  9. ¡@¡@¡@If xF Is Nothing Then
  10. ¡@¡@¡@¡@¡@MsgBox "§ä¤£¨ì½s¸¹¡A½Ð­«·s¿é¤J¡I¡@"
  11. ¡@¡@¡@Else
  12. ¡@¡@¡@¡@¡@xF.Resize(1, 2).Copy [Â\©ñ²M³æ!A65536].End(xlUp)(2)
  13. ¡@¡@¡@¡@¡@Beep
  14. ¡@¡@¡@End If
  15. ¡@End If
  16. Loop
  17. End Sub
½Æ»s¥N½X
¥¼¿é¤J¦Ó«ö½T©w©ÎEnter¡A¿é¤J¤¶­±¤´ºû«ù«Ý¿é¤Jª¬ºA¡I¡I¡@

TOP

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

Hi ­ã¤j, ³o´X¤Ñ¸û¦£¿ð¦^¤F.  §Ú¤j­P¤W¤w­×¥¿§¹¦¨. ¥Î«áÄòªºµ{¦¡¤G­Ó³£¥i¥H¡C¥u¬O²ßºD°ÝÃD.  ¦ý³o´X¤Ñ§Ú¤S¦b«ä¦Ò¥t¤@­Ó°ÝÃD.. ¦A³Â·Ð²a¤j¤F.  ·PÁÂ


(1) ¯à§_¤@¦¸¿ï¾Ü ±q½s¸¹X ¨ì½s¸¹N,  ¨Ã°µ¨¾§b¦p³Q¿ï¹Lªº¸Ü´Nmsgbox "X" ¤w³Q¿ï¹L or msgbox "¨S³o¥»®Ñ°Õ" (¨ä¥¦¥\¯à§Ú³y¤§«eªº¼g§Y¥i.

TOP

¦^´_ 12# kerochen


¯à§_¤@¦¸¿ï¾Ü ±q½s¸¹X ¨ì½s¸¹N¡@

·N«ä¬OÃþ¦ü¡G¿é¤J¡e10-12,18,22-24]¡A³sÄò³B²z¡e10,11,12,18,22,23,24¡f¡A
³Ì¦n¤W¶ÇÀɮפμÒÀÀ»Ý¨Dµ²ªG¡]¦]ÁÙÀË´ú¬O§_¤w¿ï¹L¡^¡I

TOP

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

¬Oªº, ´N¬O³o­Ó·N«ä. ²a¤j. §Ú¦A¶Ç¤W¨Ó. ÁÂÁÂ

TOP

¦^´_ 14# kerochen

¨ä¹ê¨º­Ó·Qªk¬O¦³°ÝÃDªº¡G
¢°¡D¤¤³~§ä¤£¨ì²Å¦XªÌ¡A´£¥Ü°T®§«á¡A¤¤Â_¡H©Î¥u´£¿ô¡A«öMSGBOX½T©w¡AÄ~Äò©¹¤U°õ¦æ¡H
¢±¡D¤¤³~§ä¨ì²Å¦XªÌ¡A¤S¤w¦s¦b¡]§Y­«Âпï¨ú¡^¡A¦P¤W°ÝÃD¡H
¢²¡D¤£ºÞ§ä¨ì©Î§ä¤£¨ì¡A¥i¯à¬O¿é¤J®É¤â»~¡A¦p¦ó§PÂ_¡H
¢³¡D·íMSGBOX´£¥Ü¦h­Ó«á¡A¦p¦ó°O¦í¬O­þ¨Ç¦³¿ù»~¡H
¢´¡D·í¦³¿ù»~¡A¬O§_¤S­n­«¨Ó¤@¦¸¡H

¥u¬O²³æªº§ä¹ïÀ³¡A¤£¦p¨Ï¥ÎVLOOKUP¡A¦b¤u§@ªíÀx¦s®æª½±µ¿é¤J¡AÀ³§ó¤è«K¡A¤]¥iÀË¿ù¡I

TOP

¥»©«³Ì«á¥Ñ kerochen ©ó 2015-10-10 13:03 ½s¿è

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

Hi ­ã¤j, §Ú­Ó¤Hªº«ä¦Ò¦p¤U, §Ú¬Ý©ú¤Ñ¯à¤£¯à¤W¶Çµ¹§A¬Ý¤@¤U. §Aªº«ä¦Ò¬O¥¿½Tªº, ·í§A¨Ï¥Î³sÄò¿é¤J®É´N¥i¯à·|²£¥Í§A¤W­zªº±¡§Î, ©Ò¥H §Ú²{¦bªº¼gªk¬O ·í§Ú¿ï¨ì­n®Ö¹ïªºrow,  row. coloridex=27.  ª½±µ¤W©³¦â.  ªí¥Ü¦³³B²z¹L¤F. ¦p¿ï¨ì­«ÂЪº´N¸õ¥X.  ³o¼Ëªº¼gªk«Ü³æ¯Â. ¦ý¥u¯à³æµ§³æµ§ªººV. ¦ý¦p¹L¦³1¦Ê¦hµ§ªº¸Ü§Ú´N­nºV1¦Ê¦hµ§, ©Ò¥H¤~²£¥Í§Ú¯à¤£¯à¤j¶qªº¿é¤J? °²³]"¤¤³~" §ä¤£¨ì²Å¦X¡B©Î"­«ÂÐ"¿ï¤Wªº, §Ú´N¸õmsgbox. ¤£¦Ago. ¤]¤£Åýmsgbox¦³°O¦í¤°»òªº¥\¯à.  Á¿³o¨Ç³Ì­«­nªº´N¬O" ¤j¶q¿é¤J"¦³¥Lªº­·ÀI(­«ÂСB§ä¤£¨ì¡B¿é¤J¿ù»~) , ¥N»ù´N¬O"¤¤Â_".  Åý§A¶O¯«¤F. ¤]ÁÂÁ§AÄ@·N¤£Â_±Ð¾É§Ú.  ¦p§A¦í¥x¤¤ªº¸Ü ´Nª½±µ½Ð§A¥X¨Ó®ü¥§®Ú¤F XD

¨ä¹ê¨º­Ó·Qªk¬O¦³°ÝÃDªº¡G
¢°¡D¤¤³~§ä¤£¨ì²Å¦XªÌ¡A´£¥Ü°T®§«á¡A¤¤Â_¡H©Î¥u´£¿ô¡A«öMSGBOX½T©w¡AÄ~Äò©¹¤U°õ¦æ¡H
¢±¡D¤¤³~§ä¨ì²Å¦XªÌ¡A¤S¤w¦s¦b¡]§Y­«Âпï¨ú¡^¡A¦P¤W°ÝÃD¡H
¢²¡D¤£ºÞ§ä¨ì©Î§ä¤£¨ì¡A¥i¯à¬O¿é¤J®É¤â»~¡A¦p¦ó§PÂ_¡H
¢³¡D·íMSGBOX´£¥Ü¦h­Ó«á¡A¦p¦ó°O¦í¬O­þ¨Ç¦³¿ù»~¡H
¢´¡D·í¦³¿ù»~¡A¬O§_¤S­n­«¨Ó¤@¦¸¡H

TOP

        ÀR«ä¦Û¦b : ¦¨¥\¬OÀuÂIªºµo´§¡A¥¢±Ñ¬O¯ÊÂIªº²Ö¿n¡C
ªð¦^¦Cªí ¤W¤@¥DÃD