0
嗨我想在多張紙上運行這個宏。任何幫助?跨越多張紙的宏
Sub Macro()
With ActiveSheet.PageSetup
.Zoom = 50
.Orientation = xlPortrait
.FitToPagesWide = 1
.FitToPagesTall = 1000
For Each cell In Range("D:D")
If InStr(cell, "We warrant") > 0 Then ActiveSheet.HPageBreaks.Add (ActiveSheet.Rows(cel.Row + 1))
Next
End With
End Sub