- ©«¤l
- 2834
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 2890
- ÂI¦W
- 0
- §@·~¨t²Î
- ¡e²¤¡f
- ³nÅ骩¥»
- ¡e²¤¡f
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¡e²¤¡f
- µù¥U®É¶¡
- 2013-5-13
- ³Ì«áµn¿ý
- 2024-11-23
|
¡e¶µ¦¸¡D«~µP¡D¼Æ¶q¡fªº¤å¦rÃC¦â¤£¤@P¡A¥H¡e¼Æ¶q¡f¬°¥D¡G- Sub ¶×¤J()
- Dim R&, xArea As Range, xR As Range, xE(1 To 2) As Range, i%, C%, N%
- With Sheets("¶×¾ã")
- .UsedRange.Offset(1, 0).EntireRow.Delete
- Set xE(1) = .[A2]: Set xE(2) = .[D2]
- End With
- With Sheets("®w¦s").UsedRange
- R = .Rows.Count - 22: If R <= 0 Then Exit Sub
- Set xArea = .Rows(23).Resize(R)
- End With
- For i = 3 To xArea.Columns.Count Step 4
- For Each xR In xArea.Columns(i).Cells
- N = 0: C = xR.Font.ColorIndex
- If C = 5 Then N = 1
- If C = 10 Then N = 2
- If xR = "" Or N = 0 Then GoTo 101
- R = xR.MergeArea.Rows.Count
- xR(1, 0).Resize(R, 2).Copy xE(N)
- Set xE(N) = xE(N)(R + 1)
- 101: Next
- Next i
- End Sub
½Æ»s¥N½X ¡@
Xl0000024.rar (17.08 KB)
¡@
¡@ |
|