- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 81
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2025-4-5
               
|
¦^´_ 4# GBKEE - Sub Ex()
- Set d = CreateObject("Scripting.Dictionary")
- With Sheet1
- For Each a In .Range(.[B1], .[B1].End(xlToRight))
- For Each b In .Range(.[A2], .[A2].End(xlDown))
- d(a & b) = .Cells(b.Row, a.Column).Value
- Next
- Next
- End With
- With Sheet2
- For Each a In .Range(.[B1], .[B1].End(xlToRight))
- For Each b In .Range(.[A2], .[A2].End(xlDown))
- If .Cells(b.Row, a.Column) = "" Then .Cells(b.Row, a.Column).Value = d(a & b)
- Next
- Next
- End With
- End Sub
½Æ»s¥N½X |
|