- ©«¤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
|
¦^´_ 17# die78325 - Sub ²Î¤@¬d¸ß¥\¯à()
- Application.ScreenUpdating = False
- Set d = CreateObject("Scripting.Dictionary") '³Ð«Ø¦r¨åª«¥ó
- With Sheets("¬d¸ß³B²z°Ï")
- Name = .Range("M3") '¬d¸ßÃöÁä¦r
- For Each a In .Range(.[A2], .[A2].End(xlDown))
- mystr = Format(a, "yyyymmdd hhmm") & a.Offset(, 8)
- d(mystr) = a.Offset(, 8)
- Next
- End With
- With Sheets("²Î¤@") '²Î¤@¤u§@ªí°Ï¬q
- G = .[A65536].End(xlUp).Row '²Î¤@¤u§@ªíªº¸ê®Æ§À
- For i = 2 To G
- mystr = Format(.Cells(i, 1), "yyyymmdd hhmm") & .Cells(i, 9) '¤£«½Æ·Ç«h¦r¦ê
- If .Cells(i, 9) Like "*" & Name & "*" And IsEmpty(d(mystr)) Then '¦r¨å¤¤¨S¥X²{¹LIÄæ¥B¥]§t¬d¸ßÃöÁä¦r
- Sheets("¬d¸ß³B²z°Ï").[A65536].End(xlUp).Offset(1).Resize(, 9) = .Cells(i, 1).Resize(, 9).Value '±NA:IÄæ¼g¤JSheets("¬d¸ß³B²z°Ï")
- d(mystr) = .Cells(i, 9).Value '±NIÄæ®ÚAÄ椺®e¦s¤J¦r¨å
- End If
- Next i
- End With 'µ²§ô²Î¤@¤u§@ªí°Ï¬q±Ôz
- Sheets("¬d¸ß³B²z°Ï").Select
- Application.ScreenUpdating = True '¶}±ÒÅã¥Ü
- MsgBox "²Î¤@¬d¸ß§¹¦¨"
- End Sub
½Æ»s¥N½X |
|