如果在在excel中批量插入水平分页符? 工具》宏》Visual Basic编辑器,添加以下代码: Sub Page_Break() Dim Rng As Range For Each Rng In Range("A3:A7000") If Rng.Value = "标记名称" Then ActiveSheet.HPageBreaks.Add Rng End If Next End Sub 注意,A3:A7000,是指定要插入......