- ©«¤l
 - 835 
 - ¥DÃD
 - 6 
 - ºëµØ
 - 0 
 - ¿n¤À
 - 915 
 - ÂI¦W
 - 1  
 - §@·~¨t²Î
 - Win 10,7 
 - ³nÅ骩¥»
 - 2019,2013,2003 
 - ¾\ŪÅv
 - 50 
 - ©Ê§O
 - ¨k 
 - µù¥U®É¶¡
 - 2010-5-3 
 - ³Ì«áµn¿ý
 - 2025-7-5 
 
  | 
                
 ¥»©«³Ì«á¥Ñ luhpro ©ó 2011-6-9 00:21 ½s¿è  
 
¦^´_ 1# emmalee  
¥H¤Uµ{¦¡©ñ¦b Sheet2 ¤º- Private Sub Worksheet_Change(ByVal Target As Range)
 
 -   Dim iRow%
 
 -   
 
 -   With Target
 
 -     If .Column = 2 And .Row = 1 Then
 
 -       Application.EnableEvents = False
 
 -       With .Parent
 
 -         iRow = .Cells(Rows.Count, 1).End(xlUp).Row
 
 -         If iRow < 3 Then iRow = 3
 
 -         .Range(.[A3], .Cells(iRow, 2)).Clear
 
 -       End With
 
 -       Call GetDate(Target)
 
 -       Application.EnableEvents = True
 
 -       Target.Select
 
 -       
 
 -     End If
 
 -   End With
 
 - End Sub
 
  ½Æ»s¥N½X ¥H¤Uµ{¦¡©ñ¦b Module ¤º- Sub GetDate(ByVal rTar As Range)
 
 -   Dim iRow%
 
 -   Dim dDate As Date
 
 -   Dim vSheet1, rFind As Range
 
 -   
 
 -   On Error Resume Next
 
 -   Set vSheet1 = Sheets("Sheet1")
 
 -   
 
 -   With vSheet1
 
 -     iRow = .Cells(Rows.Count, 1).End(xlUp).Row
 
 -     Set rFind = Nothing
 
 -     dDate = rTar.Value
 
 -     Do Until rFind.Row > 1
 
 -       Set rFind = Range(.[A2], .Cells(iRow, 1)).Find(dDate, LookIn:=xlValues)
 
 -       dDate = dDate + 1
 
 -     Loop
 
 -       .Range(rFind, .Cells(iRow, 2)).Copy
 
 -       rTar.Parent.[A3].PasteSpecial Paste:=xlPasteAll
 
 -   End With
 
 - End Sub
 
  ½Æ»s¥N½X |   
 
 
 
 |