sub Pnt()
dim x as integer
dim y as integer
x = InputBox("请输入起始打列页码" & Chr(10) & Chr(10) & "默认为第1页", , 1)
y = InputBox("请输入终止打列页码")
ActiveWorkbook.PrintOut From:=x, to:=y
end sub
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|Archiver|Excel精英培训 ( 豫ICP备11015029号 )
GMT+8, 2024-5-18 05:45 , Processed in 0.155997 second(s), 5 queries , Gzip On, Yac On.
Powered by Discuz! X3.4
Copyright © 2001-2020, Tencent Cloud.