- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 256
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-26
|
¨Ì·Ó¹Ï¤ùªºÄæ¦C¦ì¨Ó§PÂ_- Sub ex()
- Dim Ar(), A As Range
- Set A = [B1]: i = 1
- Do
- Do
- If Application.CountA(A.Offset(1), A.Offset(8), A.Offset(15)) > 0 Then
- ReDim Preserve Ar(s)
- Ar(s) = i
- s = s + 1
- End If
- Set A = A.Offset(22, k)
- i = i + 1
- Loop Until A.Row > UsedRange.Rows.Count
- k = k + 8
- Loop Until A.Column > UsedRange.Columns.Count
- If s > 0 Then
- For i = 0 To UBound(Ar)
- ActiveSheet.PrintOut From:=Ar(i), To:=Ar(i)
- Next
- End If
- End Sub
½Æ»s¥N½X |
|