手抄报 安全手抄报 手抄报内容 手抄报图片 英语手抄报 清明节手抄报 节约用水手抄报

VB 如何设置横向纵向

时间:2024-10-11 19:28:48

1、Printer.Orientation=VbPRORPortrait'纵向打印Printer.Orientation=VbPRORLandscape'横向打印

2、Printer.Orientation=2文档打印以纸的宽边作顶部.

3、将excel工作簿设为横向打印xlsSheet.PageSetup.Orientation=xlLandscape '横向打印xlsSheet.PageSetup.Orientation=xlPortrait '纵向打印

© 手抄报圈