- ©«¤l
- 2035
- ¥DÃD
- 24
- ºëµØ
- 0
- ¿n¤À
- 2031
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-3-22
- ³Ì«áµn¿ý
- 2024-2-1
|
¦^´_ 31# ÂŤÑÄR¦À - ThisWorkbook:
- Private Sub Workbook_Open()
- Dim rng As Variant, rnt As Range
-
- With Sheets(1)
- Set rnt = [AD2]
- For Each rng In Range(.[D2], .[D2].End(xlDown))
- rng.Offset(, 1) = IIf(IsNumeric(rng.Offset(, -1)), rng.Offset(, -1), 0)
- rnt.FormulaR1C1 = "=RC[-26]"
- Set rnt = rnt.Offset(1)
- Next
- End With
- End Sub
½Æ»s¥N½X- ¤u§@ªí1:
- Private Sub Worksheet_Change(ByVal Target As Range)
- With Sheets(1)
- If Left(Target.Address, 3) = "$AD" And IsNumeric(Target) Then
- .Cells(Target.Row, 6) = .Cells(Target.Row, 5)
- ' Debug.Print "Target.Address = " & Target.Address
- ElseIf Left(Target.Address, 2) = "$F" Then
- .Cells(Target.Row, 5) = IIf(IsNumeric(.Cells(Target.Row, 3)), .Cells(Target.Row, 3), 0)
- Else
-
- End If
- End With
- End Sub
- Private Sub Worksheet_Calculate()
- ' [K1] = [K1] + 1
- End Sub
½Æ»s¥N½X |
|