¥H¤U¥¨¶°¬Oºô¸ô¤WÃä¬d¸ê®ÆÃä§ïªº¡A°Ê§@¦p¤U:
1. ¥þ¿ï"11&52", "12", "13", "14", "15", "21&26", "22", "24", "25", "32", "34", "41", "42", "43", "44", "47", "61", "62", "64", "71", "81", "82", "83", "84", "85", "91", "92", "M2"¥H¤W¬¡¶
2. ¿ï¾ÜRows("5:50")½Æ»s¶K¤W¬°È¡]쥻"5:50"¬O¤½¦¡¡^
3. ¦pªGRows("5:50")AÄ欰ªÅ¥Õ¡A«h¥Ñ50¦Ü5³v¤@§R°£ªÅ¥Õ¦C
§Æ±æºô¤j¥i¥H¨ó§Uקï¤@¤U¹F¨ì¥H¤U»Ý¨D¡G
1. ¥Ø«e¬O¤@Ó¬¡¶¤@Ó¬¡¶°Ê§@¡A§Æ±æ¥i¥H¹F¨ì28Ó¬¡¶¤@¦¸°Ê§@¡A´î¤Öµ¥«Ý³v¤@¬¡¶°Ê§@ªº®É¶¡
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Sub ¾ã²zq³æ()
Application.Calculation = xlCalculationManual 'Ãö³¬¦Û°Ê«ºâ, ¥[§Ö³t«×
Sheets(Array("11&52", "12", "13", "14", "15", "21&26", "22", "24", "25", "32", "34", "41", "42", "43", "44", "47", "61", "62", "64", "71", "81", "82", "83", "84", "85", "91", "92", "M2")).Select
Rows("5:50").Select
Application.CutCopyMode = False
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
arr = Array("11&52", "12", "13", "14", "15", "21&26", "22", "24", "25", "32", "34", "41", "42", "43", "44", "47", "61", "62", "64", "71", "81", "82", "83", "84", "85", "91", "92", "M2")
For y = 0 To 27
Sheets(arr(y)).Select
For i = 50 To 5 Step -1
If Cells(i, "A") = "" Then
Rows(i).Delete
End If
Next
Next
Application.Calculation = xlCalculationAutomatic '«ì´_¦Û°Ê«ºâ
End Sub
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
´ú¸Õ.rar (16.6 KB)
|