- ©«¤l
- 91
- ¥DÃD
- 5
- ºëµØ
- 0
- ¿n¤À
- 130
- ÂI¦W
- 0
- §@·~¨t²Î
- Win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2016-5-14
- ³Ì«áµn¿ý
- 2020-5-17
|
[µo°Ý] ¦p¦ó±o¨ì·í«e¦C¦L½d³ò¶¼Æ?
¦p¦ó±o¨ì·í«e¦C¦L½d³ò¶¼Æ?
§Ú·Qn¦bVBA¤¤¶¡¥[¤J§PÂ_·í«e¦C¦L½d³ò¶¼Æ¬O§_¶W¹L2¶- Public Sub ¦C¦L()
- With Worksheets("1111")
- .PageSetup.PrintArea = .Range(Cells(1, 1), Cells(Rows.Count, 9)).Address '³]©w¦C¦L½d³ò
-
- '<---¥[¤J§PÂ_¶±¬O§_¶W¹L2¶
- MyPage = 1 '<---Àò±o·í«e¦C¦L½d³ò¶¼Æ
- If MyPage > 2 Then '<---§PÂ_·í«e¦C¦L½d³ò¶¼Æ
- MsgBox "¶±¶W¹L2¶¡A½Ð«·s½Õ¾ã¶±¡A¦A¦C¦L"
- Else
- .PrintOut Copies:=1, Collate:=True, IgnorePrintAreas:=False '¦C¦L
- End If
- End With
- End Sub
½Æ»s¥N½X |
|