打印时标题可以在每一页都显示,点“文件”菜单,再点“页面设置”,在弹出来的窗口上选中“工作表”选项卡,“打印标题”,“顶端标题行”或者“左端标题行”,右边点有红色小箭头的按扭,出来一个黑色的小箭头,然后再标题行或者标题列上点一下,确定,OK。
File --> Page Setup --> Sheet (tab) --> Print titles,
Rows to repeat at top
Columns to repeat at left
使用宏代码实现:
With ActiveSheet.PageSetup
.PrintTitleRows = "$1:$3"
.PrintTitleColumns = ""
End With