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

[µo°Ý] ¥i¦Û©wªí³æ ¥þ¤åÀ˯Á?

[µo°Ý] ¥i¦Û©wªí³æ ¥þ¤åÀ˯Á?

¥i¦Û©wªí³æ ¥þ¤åÀ˯Á¬Y¤@Äd¦ìªº¸ê®Æ?
½Ð±Ð¦U¦ì±M®a,ÁÂÁÂ!

test2.rar (484.89 KB)

max

¥»©«³Ì«á¥Ñ dechiuan999 ©ó 2012-6-4 08:35 ½s¿è

ÁÂÁ¤G¦ìª©¥D¤j¤j¡C

GBKEEª©¥D¤j¤j´£¨Ñªº²¾°Ê½Æ»s¡÷«Ø¥ß°Æ¥»
¬O¤@­Ó¦n¤èªk¡C¤]¬O¤p§Ì²Ä¤@¦¸¾Ç²ß¨ì
¦p¦ó¨Ï¥Î¨ì¥¦ªº¤è¦¡¡C§ó­«­nªº¬O
¥¦·|¥X²{ĵ»y¡C¦]¦¹¡A¤]´N¬O»¡
¦pªG­nÁקK¦¹°ÝÃDªº¥X²{¡A¤p§Ì·Q¨ì¦³¤G­Ó¤è¦¡
¤@¡B
´N¬O¦bMDB¸ê®Æ®w¨ú¥X¤§«e¡A§Q¥ÎSQL»yªk
°w¹ï¨ú¥X¤§³f¦W¤Þ¥ÎMID´N¥i­­¨î¨ú¥X¦r¦êªø«×
¤G¡B
¹ï¤u§@ªíCOPY¦Ü¥t¤@¤u§@ªí¤§«á×Ê¥i±Æ°£255¦r¤¸¤F¡C


HSIEH¤j¤j¡G
¤U¦C»¡©ú¡G
¤§©Ò¥H°}¦C·|¥X²{¿ù»~¡A¬O¦]¬°Àx¦s®æ¤º®e¦r¦êªø«×¶W¹L256­Ó¦r¤¸©Ò¾É­P
A886§t¦³276­Ó¦r¤¸
¶W¥X¤FEXCELªº³W®æ­­¨î

¤p§Ì¤£©ú¥Õªº¦a¤è¬O¡A
¦pªGÀx¦s®æ¦³¦r¦êªø«×ªº­­¨î¡A
¬°¦óÁÙ¯à¥Ñ¸ê®Æ®wÂà¤J©O¡H
.Range("a1").CopyFromRecordset mRst

·P®¦¤G¦ì¤j¤j¡C

TOP

¦^´_ 33# dechiuan999
¤§©Ò¥H°}¦C·|¥X²{¿ù»~¡A¬O¦]¬°Àx¦s®æ¤º®e¦r¦êªø«×¶W¹L256­Ó¦r¤¸©Ò¾É­P
A886§t¦³276­Ó¦r¤¸
¶W¥X¤FEXCELªº³W®æ­­¨î
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¥»©«³Ì«á¥Ñ GBKEE ©ó 2012-6-3 20:18 ½s¿è

¦^´_ 33# dechiuan999
¤@¡B½Æ»sTEST¤uªí¨Ã¥B   
¦p¹Ï ½Æ»s

TOP

ÁÂÁª©¥D¤j¤j¡C
¤p§Ì¨Ìª©¥D¤j¤jªº´£¥Ü
°µ¤F¦p¤Uªº§ïÅÜ
¤@¡B½Æ»sTEST¤uªí¨Ã¥B
±N¤u§@ªí©R¦W¬°"IV"
set mSht1=worksheets("IV")
¤G¡B§ï¬°
For Each E In  mSht1.Range("a1:d900").Columns(1).Cells
¤T¡B¥Ha1:d900ªº½d³ò¬°¥D°õ¦æµ²ªG¦p¤U¡G
¿é¤J¤@­Ó¦r¤¸®É
¥i°õ¦æ¡÷F¡BJ¡BQ¡BV¡BZ
¤£¥i°õ¦æ¡÷A¡BC¡BE¡BG¡BH¡BL¡BM¡BN¡BO¡BR¡BT¡BU¡BW¡BY
            '°õ¦æ¶¥¬q¿ù»~¡G13 «¬ºA¤£²Å¦X
¬d¸ßµ²ªGªÅ¥Õ¡÷B¡BD¡BI¡BK¡BP¡BS¡BX
¥|¡B¤p§Ì¤]¨Ï¥ÎÂà´«¨ç¼ÆCSTR±N
²Ä¤@Äæ°µ¤@Âà´«¤]¬O®{³ÒµL¥\¡C

¦]¦¹¡A½Æ»sTEST¤uªí¨Ã¥B
±N¤u§@ªí©R¦W¬°"IV"
¤p§Ì¤]¹ê¦b¬Ý¤£¥X¦³¦ó§ïÅÜ
¤§©O¡H

¨Ì¤p§Ìªº¸ê½è¡A§Ú·Q¬OµLªk»â
·|ª©¥Dªº´£¥Ü©O¡H
¬ßª©¥D¤j¤j¯à¦A©ú¥Ü¨ä®t²§¤§³B¡C

·P®¦ª©¥D¤j¤j¡C

TOP

¦^´_ 31# c_c_lai
Option Compare ³¯­z¦¡¥²¶·¥X²{¦b¼Ò²ÕùØ¡A¥B¥²¶·¦b¥ô¦óµ{§Ç¤§«e¡C
§Aªºµ{¦¡½X¦b¨º¸Ì ¨º¸Ìªºµ{§Ç¦pªG¦³ Option Compare  ªº³]©w¬°¥D

TOP

¦^´_ 7# GBKEE
½Ð°Ý Option Compare Text ­n¥[¦b ThisWorkbook ÁÙ¬O  UserForm1 ¤º¡H

TOP

¥»©«³Ì«á¥Ñ GBKEE ©ó 2012-6-3 10:01 ½s¿è

¦^´_ 27# dechiuan999
½Æ»s test ¤u§@ªí ·|¦³µª®×ªº
³]­q mSht1=½Æ»sªº¤u§@ªí  ¥i¥¿±`¹B§@   

For Each E In mSht1.Range("a1", mSht1.Range("a1:d900")).Columns(1).Cells     '´ú¸Õ¨ì 800 ªº¦ì¸m¬O OK
-> For Each E In  mSht1.Range("a1:d900").Columns(1).Cells

TOP

¦^´_ 26# GBKEE


    ·PÁÂg¤j¤S¦AÀ°¤F§Ú¤@¦¸

TOP

¦^´_ 27# dechiuan999


    §Ú­è­è¸Õ¤F¤@¤Uµ{¦¡¨S°ÝÃD
¦n¹³§Aªº¸ê®Æ²Ä886¦C¦³°ÝÃD
§A§â886¦C§R°£¸Õ¸Õ¬Ý
¤°»ò­ì¦]§Ú¤£ª¾¹D
¥i¯à­ng¤jÀ°§A¸ÑÄÀ¤F
¤p§Ì¤~²¨¾Ç²L¥u¯àÀ°¨ì³o¸Ì¤F

TOP

        ÀR«ä¦Û¦b : §g¤l¥ß«í§Ó¡A¤p¤H«í¥ß§Ó¡C
ªð¦^¦Cªí ¤W¤@¥DÃD