- ©«¤l
- 913
- ¥DÃD
- 150
- ºëµØ
- 0
- ¿n¤À
- 1089
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- office 2019
- ¾\ŪÅv
- 50
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2011-8-28
- ³Ì«áµn¿ý
- 2023-7-19
|
¦^´_ 2# GBKEE
G¤j¦n,
¥Ø«e§Ú¥ý´ú¸Õ²Ä¤@Óµ{¦¡,±q¤u§@ªí2¤@ª½¨ì³Ì«á¤@Ó¤u§@ªíªº¿ï¨ú,¨Ã¥B¥[¤W¤@¨Ç§Ú»Ýnªº¥\¯à:
1. ¤u§@ªí¥H¼Æ¦r©R¦Wªº¬°1~31,¦ý¨ä¤¤¤]¦³¥Î¤å¦r©R¦Wªº,§Ú»ÝnÅýµ{¦¡¦Û°Ê§PŪ¼Æ¦r©R¦Wªº¤u§@ªí,·í¤ë¥÷¨S¦³31¤é(or ¨Ò¦p2¤ë¨S¦³29~31®É),¥i¥H¥ý±N¦h¾lªº¤u§@ªí§R°£(¦ýn²¤¹L¤å¦r©R¦Wªº¤u§@ªí)
2. ¦A±N«ü©wªº½d³òȤÆ
¦ý°õ¦æ®É¥X²{"°õ¦æ¶¥¬q¿ù»~13,«¬ºA¤£²Å¦X",½Ð°Ý§Ú»Ýnק擄»ò¦a¤è?- Sub ¿ï¨ú¤u§@ªí() '**1. ±qSheets("2")ªº¤u§@ªí¦WºÙ(¤£¬O±q²Ä2Ó¤u§@ªí¶}©l¼Æ),¤@ª½¨ì³Ì«á¤@Ó¤u§@ªí¿ï¨ú°_¨Ó
- Dim W As Workbook, xSh As Worksheet, Sh As Worksheet, Ar, M As String
- Set W = Workbooks("Bifido_¤K°ô _6¤ë.xlsx")
- Set xSh = W.Sheets("31")
- xSh.Delete
- For Each Sh In Sheets
- If Sh.Name = "2" Then
- M = Sh.Name
- ElseIf M <> "" Then
- M = M & "," & Sh.Name
- End If
- '**Range(B2:C3)ȤÆ(Åý¤½¦¡Åܦ¨È)
- If M <> "" Then Sh.Range("B2") = Sh.Range("B2").Value
- Next
- Ar = Split(M, ",")
- Sheets(Ar).Select
- End Sub
½Æ»s¥N½X |
|