- ©«¤l
- 2833
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 2889
- ÂI¦W
- 0
- §@·~¨t²Î
- ¡e²¤¡f
- ³nÅ骩¥»
- ¡e²¤¡f
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¡e²¤¡f
- µù¥U®É¶¡
- 2013-5-13
- ³Ì«áµn¿ý
- 2024-11-17
|
¤è®×¤@¡G½Æ»s¤u§@ªí©Î§ó·s¤º®e¡]¦pªG¤Hû¤u§@ªí¤w¦s¦b¡^- Sub §ó·s()
- Dim xR As Range, MySht As Worksheet, Sht As Worksheet, AR, i%
- Set MySht = ActiveSheet
- MySht.AutoFilterMode = False
- Application.ScreenUpdating = False
- For Each xR In Range(MySht.[A2], MySht.[A65536].End(xlUp))
- If xR.Row = 1 Then Exit Sub
- On Error Resume Next
- Set Sht = Nothing: Set Sht = Sheets(xR.Value)
- On Error GoTo 0
- If Sht Is Nothing Then
- Sheets("ªí®æ½d¥»").Copy After:=Sheets(Sheets.Count)
- Set Sht = ActiveSheet: Sht.Name = xR.Value
- MySht.Select
- End If
- AR = Array("B3", "B4", "E3", "E4", "B6", "B7")
- For i = 0 To UBound(AR)
- Sht.Range(AR(i)) = ""
- If xR(1, i + 1) <> "" Then Sht.Range(AR(i)) = xR(1, i + 1).Text
- Next i
- Next
- End Sub
½Æ»s¥N½X ¤è®×¤G¡G¥H¤@±iªí¦@¥Î- Sub ¥Ó½Ðªí()
- Dim xR As Range, AR
- Set xR = ActiveCell
- If xR.Row = 1 Or xR.Column > 1 Or xR.Value = "" Then
- MsgBox "½Ð¦b¢ÏÄæ¿ï¾Ün¶ñ¤J¥Ó½Ðªíªº¤Hû©m¦W¡I¡@": Exit Sub
- End If
- AR = Array("B3", "B4", "E3", "E4", "B6", "B7")
- With Sheets("¥Ó½Ðªí")
- For i = 0 To UBound(AR)
- .Range(AR(i)) = ""
- If xR(1, i + 1) <> "" Then .Range(AR(i)).Value = xR(1, i + 1).Text
- Next i
- .Select
- End With
- End Sub
½Æ»s¥N½X ¡@
Xl0000027.rar (13.97 KB)
¡@
¡@ |
|