- ©«¤l
- 60
- ¥DÃD
- 26
- ºëµØ
- 0
- ¿n¤À
- 93
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows
- ³nÅ骩¥»
- Windows 7
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2014-9-8
- ³Ì«áµn¿ý
- 2020-4-15
|
¦^´_ 4# lpk187
Hi
Ó¤H¾ÇÃÀ¤£ºë,·Q½Ð±Ð
¦pªG»¡§Ú§âRng§ï¦¨cellsªº¥Îªk,¦ý¬O§ï¼g§¹«á«o¦³¸ê®Æ«¬ºA¤£²Åªºª¬ªp.
ÁٽЦh¦hÀ°¦£«ü±Ð ÁÂÁÂ
For i = 2 To Sheets(1).UsedRange.Rows.Count
Worksheets(1).Cells(i, 2) = Application.VLookup(Worksheets(1).Cells(i, 1), Sheets(2).Range(Cells(2, 1), Cells(Sheets(2).UsedRange.Rows.Count, 4)), 4, 0)
Worksheets(1).Cells(i, 3) = Application.VLookup(Worksheets(1).Cells(i, 1), Sheets(3).Range(Cells(2, 1), Cells(Sheets(3).UsedRange.Rows.Count, 4)), 4, 0)
Next |
-
-
Vlookup.jpg
(12.59 KB)
|