- ©«¤l
- 552
- ¥DÃD
- 3
- ºëµØ
- 0
- ¿n¤À
- 578
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office 2010
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2015-2-8
- ³Ì«áµn¿ý
- 2024-7-9
  
|
¦^´_ 1# starry1314
¤]¥i¥H³o¼Ë¡I- Option Explicit
- Sub ¥¨¶°1()
- Dim c As Range
- With Sheets("¤u§@ªí1")
- Set c = .Rows(3).Find("P.P", , , , , 1) '©¹«á´M§ä
- .PageSetup.PrintArea = .Range(.Cells(Rows.Count, 1).End(xlUp), Cells(2, c.Column)).Address '³]©w¦C¦L½d³ò
- .PrintOut Copies:=1, Collate:=True, IgnorePrintAreas:=False '¦C¦L
- Set c = Nothing
- Set c = .Rows(3).Find("P.P", , , , , 2) '©¹«e´M§ä
- .PageSetup.PrintArea = .Range(.Cells(Rows.Count, 1).End(xlUp), Cells(2, c.Column)).Address '³]©w¦C¦L½d³ò
- .PrintOut Copies:=1, Collate:=True, IgnorePrintAreas:=False '¦C¦L
- Set c = Nothing
- End With
- End Sub
½Æ»s¥N½X |
|