- ©«¤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
|
¦^´_ 1# myleoyes
¸Õ¸Õ¬Ý- Sub ´¡¤J()
- Dim R As Range, S As String
- Set R = ActiveCell
- If R.Column >= 1 And R.Column <= 17 Then
- If R.Row > 1 And Cells(Rows.Count, R.Column).End(xlUp).Row >= R.Row Then
- With Range("A" & R.Row + 1 & ":Q" & R.Row + 1)
- .Insert
- End With
- With Range("A" & R.Row & ":Q" & R.Row)
- .Copy .Offset(1, 0)
- End With
- End If
- End If
- With ActiveCell
- .Offset(1, 0) = Date
- ag:
- ZZ = Application.InputBox("½Ð¿é¤J¦WºÙ", " ¿é¤J·s¼W¦WºÙ", Selection.Offset(1, 3), Type:=2)
- If ZZ = False Then GoTo ag
- .Offset(1, 3) = ZZ
- ag1:
- ZZ = Application.InputBox("½Ð¿é¤J¼Æ¦r", " ¿é¤JÀx¦s®æ¦ì¤l", Type:=1)
- If ZZ = False Then GoTo ag1
- S = "='" & ThisWorkbook.Path & "\[" & .Offset(1, 3) & ".xls]Sheet1'!$C$" & ZZ
- .Offset(1, 8) = S
- S = "=IF(RC[5]="""",LOOKUP(9.9E+307,'" & ThisWorkbook.Path & "\[" & .Offset(1, 3) & ".xls]Sheet1'!C2),RC[5])"
- .Offset(1, 9) = S
- End With
- End Sub
½Æ»s¥N½X |
|