- ©«¤l
- 1018
- ¥DÃD
- 15
- ºëµØ
- 0
- ¿n¤À
- 1058
- ÂI¦W
- 0
- §@·~¨t²Î
- win7 32bit
- ³nÅ骩¥»
- Office 2016 64-bit
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2012-5-9
- ³Ì«áµn¿ý
- 2022-9-28
|
¦^´_ 6# myleoyes
´XºØ¤èªk§A°Ñ¦Ò¬Ý¬Ý
Sub Ex1_1() '®e©öÀ´
Dim r As Long
r = [K65536].End(xlUp).Row + 1
Range("K" & r) = Sheet4.[I1]
Range("L" & r) = "=K" & r & "-K" & r - 1 & "+" & Sheet2.[AZ19] & "-" & Sheet2.[AZ20]
End Sub
Sub Ex1_2() '¤½¦¡¤¤¦ì§}¥Îaddress¨ú´N¥i¥H¤F
With [K65536].End(xlUp).Offset(1, 0)
.Value = Sheet4.[I1]
.Offset(0, 1).Value = "=" & .Address(0, 0) & "-" & .Offset(-1, 0).Address(0, 0) & "+" & Sheet2.[AZ19] & "-" & Sheet2.[AZ20]
End With
End Sub
Sub Ex1_3() '¤£«O¯d¤½¦¡ºâ¥X¨Ó¤]¬O¤@¼Ëªº
With [K65536].End(xlUp).Offset(1, 0)
.Value = Sheet4.[I1]
.Offset(0, 1).Value = .Value - .Offset(-1, 0).Value + Sheet2.[AZ19] - Sheet2.[AZ20]
End With
End Sub |
|