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

[µo°Ý] À°¦£¸ÑÄÀ³o­Ó¼Ò½k¤ñ¹ï½d¨ÒÀÉ

ÁÂÁ Hsieh ¤j!­è­è¸ÕµÛ¥h run ¦Û¤vªº¤u§@ÀɮסA¥u¶Ç¦^4Ä檺¸ê®Æ¬Ookªº¡A¦pªG§Ú±q Sheet1 §ì¦^ªº¸ê®Æ§ï¦¨32Äæ(¤½¥qªº¸ê®Æ«ÜÃe¤j)¡A¥Î¤@­Ó°j°é¥h¶]°}¦C¡Aµ²ªG´N¨S¿ìªk¥¿±`°õ¦æ¤F¡A¬O°}¦Cªº¦]¯À¶Ü?§Ú°O±o¦n¹³¦b­þ¸Ì¬Ý¹L¤å³¹»¡©ú¡A°}¦Cªº"Äæ"¬O¤£¯à¥Î°j°é¥h¶]ªº¡C¬O³o¼Ë¶Ü?
  1. Sub ex()
  2. Set d = CreateObject("Scripting.Dictionary")
  3. With Sheet1
  4. For Each a In .Range(.[B5], .[B56636].End(xlUp))
  5.   For i = 1 To 32
  6.    d(a & "") = Array(a.Offset(, i).Value)     ', a.Offset(, 2).Value, a.Offset(, 3).Value, a.Offset(, 4).Value)
  7. Next i
  8. Next
  9. End With
  10. With Sheet2
  11. For Each a In .Range(.[D12], .[D56636].End(xlUp))
  12.     For Each ky In d.keys
  13.        If InStr(a, ky) > 0 Then a.Offset(, 12).Resize(, 32) = d(ky): Exit For
  14.     Next
  15. Next
  16. End With
  17. End Sub
½Æ»s¥N½X
Jess

TOP

¦^´_ 14# jesscc
  1. Sub ex()
  2. Set d = CreateObject("Scripting.Dictionary")
  3. With Sheet1
  4. For Each a In .Range(.[B5], .[B56636].End(xlUp))
  5.    d(a & "") = Array(a.Offset(, 1).Value, a.Offset(, 2).Value, a.Offset(, 3).Value, a.Offset(, 4).Value)
  6. Next
  7. End With
  8. With Sheet2
  9. For Each a In .Range(.[D12], .[D56636].End(xlUp))
  10.     For Each ky In d.keys
  11.        If InStr(a, ky) > 0 Then a.Offset(, 4).Resize(, 4) = d(ky): Exit For
  12.     Next
  13. Next
  14. End With
  15. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^ mark15jill ¤j
½T¹ê·|¦³³oºØ±¡§Î¡A¤£¹L§Ú·|ºCºC­×¥¿¸ê®Æ®wªº¸ê®Æ¡A³o­Ó°ÝÃD¬O¥i¥H¤@¨B¨B¸Ñ¨Mªº¡AÁÂÁ§A!

§Ú­«·s¤W¶Ç¤F¤@­ÓÀɮסA¦³·s¼W´XÄæ¸ê®Æ¡A­n¦P®É¶Ç¦^Sheet2¡A½Ð oobird ¤jÀ°§Ú¬Ý¤@¤U¡A­n¦p¦ó­×§ï¦n¶Ü?

¼Ò½k¤ñ¹ïtest.rar (16.19 KB)
Jess

TOP

«ÜÃøÀ´§AªºÅÞ¿è
"¬ãµoccab"--> aÂ÷¬ãµo³Ìªñ ^^
¤£¬Oc Â÷¬ãµo³Ìªñ ?????
³\¦hªB¤Í¤£Ä@§â°ÝÃDÀÉ®×´£¥X¨Ó
¤SµLªk´y­z²M·¡
³y¦¨«Ü¦hªºÂû¦PÀnÁ¿
®ö¶O¤j®aªº®É¶¡»P¯¸ªøªºªÅ¶¡

TOP

¥»©«³Ì«á¥Ñ mark15jill ©ó 2011-5-10 08:53 ½s¿è

¼Ó¥D~ ´N±zªþÀɪº °T®§¨Ó¬Ýªº¸Ü
¬O ¥H sheet1 ¬°°ò¦ ¦bsheet2 ªº¸ê®Æ¤º ¤U¥h°µ·j´M¨S¿ù§a
¬JµM¬O³o¼Ë ¨º ¦pªG§A sheet2¤º ¨S¦³¬ÛÃöªº¸ê°T ´Nºâ§A¦bsheet1 ¼W¥[¦A¦h±ø¥ó ¤]¬O¨S¥Îªº.

¦Ó¥B ¦pªG«ö·Ó¼Ó¥Dªº·N«äªº¸Ü
·|³y¦¨¤@ºØ±¡§Î
¦pªG³æ¤@¸ê®Æ ²Å¦X¨âºØ·j´M±ø¥ó ¨º ­nÅã¥Ü­þ­Ó?? ´N¸ò¤§«e¬Y©«¤@¼Ë...
¨Ò¦p
      sheet1                  sheet2            Åã¥Ü
A1      ¤j©ú      1            ¤j©ú¤p©ú           ?
A2     ¤¤©ú      2             ¤¤©ú                   2
A3      ¤p©ú      3            ¤p©ú                   3
¨º A1   ªº¸Ü ¥LÅã¥Ü­n­þ­Ó?

TOP

§ÚªºÅÞ¿è¿ù¤F¡A§Ú¥H¬°µ{¦¡·|¥h¤À¿ë³Ì±µªñ"¬ãµo"ªº¦r¦ê¡A"¬ãµoccab"--> aÂ÷¬ãµo³Ìªñ ^^¡A§Ú¹ê¦b¬O¤Ó...

¥u®t³Ì«á¤@¨B¤F¡A¤£¹L²{¦b¾ã­Ó¸£³U¤w¸g¶Ã±¼¤F¡AÁÂÁ Hsieh ¤jµ¹§ÚªºÆ[©À!
ÁÙ¦³ oobird ¤j¤j¼gªº§Ú¤ñ¸û¯à°÷¬Ý±oÀ´¡A­è­è¥Î¥¦¸ÕµÛ¥h§ï§Úªº¤u§@ÀɮסA¥i¬O¤@ª½¥X²{¿ù»~¡A·d±o§ÚÀY©ü¸£º¦ªº¡A¥i¤£¥i¥H§Ú§â¤u§@Àɮ׶ǨӡA±z«üÂI§Ú¤@¤U¸Ó¦p¦ó§ï?
Jess

TOP

¥»©«³Ì«á¥Ñ Hsieh ©ó 2011-5-9 23:47 ½s¿è

"¬ãµoccba"«ç·|¬O¦³³sÄò¦r¦ê¬°"¬ãµob"©O?
³o¼Ë»¡§a
§A¬O­n¦b"¬ãµoccba"¤¤§ä¬Ý¬Ý¬O§_¦³"¬ãµoa"©Î"¬ãµob"
¨º§A§â"¬ãµoccba"¡A¨C3­Ó¦r¤Á³Î·|±o¨ì
"¬ãµoc"¡B"µocc"¡B"ccb"¡B"cba"
³o¸Ì­±·|¦³"¬ãµoa"©Î"¬ãµob"¶Ü?
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¥»©«³Ì«á¥Ñ jesscc ©ó 2011-5-9 22:39 ½s¿è

³á¡A¤£!sheet1¤~¬O¸ê®Æ®w¡C
¦]¬°sheet2ùتº¦r¦ê³£¤ñ¸ûªø¡A¤ñ¸û¶Ã¡A©Ò¥H§Ú¦b·Q¥u­n¦bsheet1ùؤñ¹ï¨ì¨ä¤¤´X­Ó³sÄò¦r¦ê³£²Å¦X¡A´N±N¬ÛÃö¸ê®Æ§ì¦^sheet2¡A¬O§Úªº·Qªk­è¦n¬Û¤Ï¶Ü?­ì©lÀɮ׬ݰ_¨Ó¹³¬O³o¼Ë¤ñ¹ïªº°Ú!

³o¼Ë»¡¦n¤F¡A¦pªGsheet2ùئ³¤@µ§¸ê®Æ"¬ãµoccab"¡A¦bsheet1ùØÀ³¸Ó¬O§ì"¬ãµoa"§a!
                  ¦pªGsheet2ùئ³¤@µ§¸ê®Æ"¬ãµoccba"¡A¦bsheet1ùØÀ³¸Ó¬O§ì"¬ãµob"§a!
¯Âºé­Ó¤H«ä¦Ò¡C
Jess

TOP

¥ý±q§Aªº»Ý¨D¶}©l¡A§A¬O­n¦bsheet2¤¤´M§ä¦³sheet1ªºAÄæ¦r¦ê
¤]´N¬O»¡Sheet2¤¤¦³¥]§tSheet1ªº¦r¦ê¡AµM«á±N¥N¸¹¡BÃþ§O¶ñ¨ìSheet2
¨º¸Õ°Ý¡A"¬ãµoA"¡B"¬ãµoB"¦bSheet2¤¤ªº¸ê®Æ§A¦p¦ó¯à§ä¨ì?
A8¤º®e"(100¦~3¤ë2¤é)¬ãµo1"
¥L¨Ã¥¼¥X²{"¬ãµoA"©Î"¬ãµoB"
©Ò¿×¼Ò½k¤ñ¹ï¬O»¡¦r¦ê¤¤¥]§tÃöÁä¦r¡AÁÙ¥i¯à¥X²{¨ä¥L¦r¤¸
´N¦]¬°§AªºÃöÁä¦r²{¦b¬O"¬ãµoA"©Î"¬ãµoB"
¨º»ò­n¦b´M§ä¦r¦ê¤¤¦³¥X²{"¬ãµoA"©Î"¬ãµoB"
¤~·|³Q»{¬°¤ñ¹ï¦¨¥\
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¥»©«³Ì«á¥Ñ jesscc ©ó 2011-5-9 20:40 ½s¿è

«D±`·PÁ¦U¦ì¥ý¶iªº¼ö¤ß«ü¾É¡A¦U¦ì¤j¤jªº¥\¤O¤p§Ì¥u¯à»¡¨ØªA¡A¦ý¤p§Ì¯u¥¿ªº²~ÀV¡A¤´¥¼§JªA¡A§Ú­×§ï¤F¤@¤Usheet1¤¤ªº¸ê®Æ¡A¼W¥[¤F"¬ãµoA"¡B"¬ãµoB"¨Ã¦h¥[¤F¨â­ÓÄæ¦ì¡A¦p¦¹¤@¨Ósheet2¤¤¥u­n¦³"¬ãµo"¦r²´ªº¡A´N³£¤ñ¹ï¤£¨ì¤F¡A·Ó¹D²z¡A³o¨Ã¨S¦³¹H¤Ï¸ê®Æ®w¥¿³W¤Æ¸ê®Æ°ß¤@©Êªº­n¨D¡A¬OVBA¨S¦³³o¼Ëªº¬d¸ß¨ç¼Æ¶Ü?

¼Ò½k¤ñ¹ï­×§ï«á.rar (15.47 KB)
Jess

TOP

        ÀR«ä¦Û¦b : ¡i®É¤é²öªÅ¹L¡j¤@­Ó¤H¦b¥@¶¡°µ¤F¦h¤Ö¨Æ¡A´Nµ¥©ó¹Ø©R¦³¦hªø¡C¦]¦¹¥²¶·»P®É¶¡Ävª§¡A¤Á²ö¨Ï®É¤éªÅ¹L¡C
ªð¦^¦Cªí ¤W¤@¥DÃD