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

[µo°Ý] ¿z¿ï°ÝÃD

[µo°Ý] ¿z¿ï°ÝÃD

¤j®a¦n:
     ­ì©lµ{¦¡½X
     Sheets("¤u§@ªí1").Select
     x = Application.WorksheetFunction.CountA(Range("A:A")) 'Äæ¦ì¦³­È½d³ò­pºâ
     ActiveSheet.Range("$A$1:$CE$" & x).AutoFilter Field:=7, Criteria1:=">=1",Operator:=xlOr, Criteria2:="=¥þ"
     §Ú§Q¥Î¿ý»s¥\¯à¿z¿ï¥XX¦C¤j©óµ¥©ó1ªº­È©ÎY¦Cµ¥©ó¥þªº­È¡C
     ²{¦b·Q§Q¥Î¤T­Ó©Î±ø¥ó¦¡¨Ó§¹¦¨©Ò¥H§Ú§âµ{¦¡­×§ï¦p¤U
     ActiveSheet.Range("$A$1:$CE$" & x).AutoFilter Field:=7, Criteria1:=">=1",Operator:=xlOr, Criteria2:="=¥þ",Operator:=xlOr, Criteria3:="=µL"
    µo²{µ{¦¡¿ù»~¡A§Ú¦b·Q¥i¯à¤£¤ä´©2­Ó¥H¤Wªº±ø¥ó
    ­Y¬O§Q¥Î¦h­Ó±ø¥ó§P§O¡A§ÚÁÙª¾¹D«ç»ò¼g
    ¥i¬O­Y§Q¥Î¦h±ø¥ó¡A¦A§Q¥Î¿z¿ï¥\¯à¡A§Ú´N¤£ª¾¹D«ç»ò¼g¡C
    ©Ò¥H·Q½Ð°Ý¤@¤U¡AÁÂÁ¡C

¦^´_ 1# spermbank
§A©Ò»¡ªº
ActiveSheet.Range("$A$1:$CE$" & x).AutoFilter Field:=7, Criteria1:=">=1",Operator:=xlOr, Criteria2:="=¥þ"
³o¸ÌªºField:=7«üªº¬O¹ïGÄæ¿z¿ï¡A¤]´N¬O¿z¥X GÄæ¤j©óµ¥©ó1 ©Î¬O GÄæµ¥©ó"¥þ"¡C
¨Ã¤£¬O§A»¡ªº"¿z¿ï¥XX¦C¤j©óµ¥©ó1ªº­È©ÎY¦Cµ¥©ó¥þªº­È"

¹ïAutoFilter¨Ó»¡¡A¦P¤@Ä檺¿z¿ï±ø¥ó¥u¯à¨â­Ó¡A¦ý¬O¥¦¤]¯à¦P®É¹ï«Ü¦hÄæ¿z¿ï¡A¤£¾å±o§A­nªº¿z¿ï¥\¯à¨ì©³¬°¦ó¡C

TOP

¦^´_ 2# stillfish00

    ±z¦n:
    ´N¬O²ÄGÄæ­n¤j©óµ¥©ó1©Îµ¥©ó¥þ©Îµ¥©óµL
    ¿z¿ï¦n¹³¥u¯à¦b¬Y¤@Äæ¦ì³]©w¨â­Ó±ø¥óµLªk¦A³]©w¦h­Ó±ø¥ó
    ¨Ã«D¬O«Ü¦hÄæ¦ìªº¿z¿ï¡C

TOP

§Q¥Îexcel»Psql¥\¯à¡A´N¯à§ïÅܳo¨Ç¡I¤£¥Î³o»ò³Â·Ð¡I§Y¨Ï¬Oexcel 2003 ¤]»´ÃP°µ¨ì

¨Ò¦p¡Ghttp://blog.bestdaylong.com/2013/09/excelsql.html

sql ¥i¥H¦h­Ó±ø¥ó¡A³t«×¤S§Ö¡A¸ê®Æ¼Æ¦Ê¸Uµ§¤]¦æ¡K

TOP

¦^´_ 4# joey0415


    OK¡AÁÂÁ±z¡C

TOP

        ÀR«ä¦Û¦b : ­n¥Î¤ß¡A¤£­n¾Þ¤ß¡B·Ð¤ß¡C
ªð¦^¦Cªí ¤W¤@¥DÃD