- ©«¤l
- 150
- ¥DÃD
- 40
- ºëµØ
- 0
- ¿n¤À
- 215
- ÂI¦W
- 0
- §@·~¨t²Î
- windows xp
- ³nÅ骩¥»
- sp3
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2013-7-15
- ³Ì«áµn¿ý
- 2024-10-2
|
¥i§_½ÐG¤jÀ°§Ú¬Ý¤@¤U,¥H¤Uµ{¦¡½X,§Ú³v¨B°õ¦æ(F8)¨S°ÝÃD,¦ý¬O§ï¥Î°õ¦æ¥¨¶°®É,³£·|°±¦b
(Sheets("¶×Á`").Select )¥X²{µ{¦¡½Xªº°õ¦æ¤v³Q¤¤Â_¿ù»~°T®§,¤£ª¾¨ºÓ¦a¤è¦³°ÝÃD
Sub Macro()
'
' Macro Macro
' ³øªí¾ã¦X
'
'
Application.ScreenUpdating = False 'Åýµøµ¡¤£¸òÀH§ó·sÅÜ°Ê
If ActiveCell.Value <> Empty Then
Application.CutCopyMode = False
Selection.Copy
Sheets("ì©lªí").Select
Range("B2").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False '¶K¤W
On Error GoTo 101 ' '·s¼W±ø¥ó¶}©l101
Sheets("ì©lªí").Range("E7").QueryTable.Refresh BackgroundQuery:=False
Sheets("¶×Á`").Select
Range("A2:K21").Select
Selection.Copy
Range("A1").Select
Selection.End(xlDown).Select '¨ì³Ì©³¸ê®Æ¦C
ActiveCell.Offset(1, 0).Range("A1").Select '¤U¤@¦C
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False '¶K¤WÈ
101
Sheets("¥¨¶°¤u§@ªí").Select
ActiveCell.Offset(1, 0).Range("A1").Select
Call Macro
End If
End Sub |
|