- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 256
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-26
|
¥»©«³Ì«á¥Ñ Hsieh ©ó 2012-3-9 23:51 ½s¿è
¦^´_ 1# chen255
¥i¨Ï¥ÎFIND§ä¨ì¦C¦ì
¦ý¬Ý¤£À´§AªºÄæ¦ì¹ïÀ³
¦pªG°õ¦æµ²ªG¦³»~¡A½Ð¥Hªþ¥ó¤¤ªº½d¨Ò¶ñ¤JSheet1¨Ó»¡©ú- Sub nn()
- Dim A As Range, B As Range
- With Sheet1
- For Each A In .Range(.[AB4], .[AB4].End(xlDown))
- ym = Val(Split(A, "/")(0)) & "¦~" & Val(Split(A, "/")(1)) & "¤ë"
- Set B = Sheet2.Rows(1).Find(ym, lookat:=xlPart)
- Set c = B.EntireColumn.Find(.[C1])
- 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))
- Next
- End With
- End Sub
½Æ»s¥N½X |
|