- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 84# c_c_lai
39©« ¸É¤W«DÀç·~®É¶¡¤£°õ¦æµ{¦¡- Private Sub Worksheet_Calculate()
- Dim Rng As Range, E As Variant
- On Error Resume Next ' Àɮ׶}±Ò®É DEE¶Ç¦^¿ù»~È
- Set Rng = UsedRange.Cells.SpecialCells(xlCellTypeFormulas, xlErrors)
- If Not Rng Is Nothing Then Exit Sub
- On Error GoTo 0 '¶}½L¤£¦A³B²zµ{¦¡½Xªº¿ù»~
- If Time < #9:00:00 AM# Or Time > #1:31:00 PM# Then Exit Sub '«DÀç·~®É¶¡
- For Each E In Me.Names
- If E.Name Like "*TotalVolume*" Then 'Á`¶qªº¦WºÙ
- If Range(E.Name) > 0 Then
- With Cells(Rows.Count, Range(E.Name).Column).End(xlUp) ''Á`¶q¦WºÙ©Ò¦bªº³Ì©³¦C©¹¤W¨ì¦³¸ê®ÆªºÀx¦s®æ
- If .Row = 2 Or .Row > 2 And .Value <> Range(E.Name).Value Then
- .Offset(1).Cells(1, -2).Resize(, 4) = Range(E.Name).Cells(, -2).Resize(, 4).Value
- End If
- End With
- End If
- End If
- Next
- End Sub
½Æ»s¥N½X |
|