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

[µo°Ý] ¸ó¤u§@ªí°j°é

[µo°Ý] ¸ó¤u§@ªí°j°é

°ÝÃD¦pªþ¥ó¡C
½Ð°Ý¸Ó¦p¦ó¸ó¤u§@ªí°j°é

ÁÂÁÂ~

¸ó­¶°j°é.rar (19.84 KB)

¦^´_ 1# wayne0303

½Ð´ú¸Õ¬Ý¬Ý¡AÁÂÁÂ
Sub test()
Dim Arr, xD, i&
Set xD = CreateObject("Scripting.Dictionary")
Arr = Range([¤u§@ªí2!d1], [¤u§@ªí2!e65536].End(3))
For i = 2 To UBound(Arr): xD(Arr(i, 1)) = Arr(i, 2): Next
With Sheets("¤u§@ªí1")
    Arr = .Range(.[c1], .[b65536].End(3))
    For i = 1 To UBound(Arr)
        If Arr(i, 1) = "" Then GoTo 99
        If xD.Exists(Arr(i, 1)) Then
            Arr(i, 2) = xD(Arr(i, 1))
        Else
            Arr(i, 2) = "¿ù»~"
        End If
99: Next
    .[b1].Resize(UBound(Arr), 2) = Arr
End With
End Sub

TOP

¦^´_ 2# samwang


¥i¥H¤F¡I¡IÁÂÁÂsamwang
¬Ý¨Ó¸ó­¶ªº°j°é¤ñ¸û³Â·Ð¤@ÂI

ÁÙ¬O¤£À´~­n¦h¾Ç²ß~

ÁÂÁÂ

TOP

        ÀR«ä¦Û¦b : ¤H¥Í¨S¦³©Ò¦³Åv¡A¥u¦³¥Í©Rªº¨Ï¥ÎÅv¡C
ªð¦^¦Cªí ¤W¤@¥DÃD