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

[µo°Ý] ½Ð°Ý¦p¦ó§Ö³t¤ñ¹ï¸ê®Æ

¥»©«³Ì«á¥Ñ Hsieh ©ó 2012-3-9 23:51 ½s¿è

¦^´_ 1# chen255
¥i¨Ï¥ÎFIND§ä¨ì¦C¦ì
¦ý¬Ý¤£À´§AªºÄæ¦ì¹ïÀ³
¦pªG°õ¦æµ²ªG¦³»~¡A½Ð¥Hªþ¥ó¤¤ªº½d¨Ò¶ñ¤JSheet1¨Ó»¡©ú
  1. Sub nn()
  2. Dim A As Range, B As Range
  3. With Sheet1
  4. For Each A In .Range(.[AB4], .[AB4].End(xlDown))
  5.    ym = Val(Split(A, "/")(0)) & "¦~" & Val(Split(A, "/")(1)) & "¤ë"
  6.    Set B = Sheet2.Rows(1).Find(ym, lookat:=xlPart)
  7.    Set c = B.EntireColumn.Find(.[C1])
  8.    A.Offset(, 1).Resize(, 7).Value = Array(c.Offset(, 2), c.Offset(, 5), c.Offset(, 4), c.Offset(, 6), c.Offset(, 7), c.Offset(, 8), c.Offset(, 9))
  9. Next
  10. End With
  11. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

        ÀR«ä¦Û¦b : ¦n¨Æ­n´£±o°_¡A¬O«D­n©ñ±o¤U¡A¦¨´N§O¤H§Y¬O¦¨´N¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD