M
myname
Hello,
I'm trying to modify one of my breakpages through VBA:
With ws ' ws is the worksheet I'm working on
.Cells(1, 1) = "YO" ' Just to check something happens
.HPageBreaks(1).Location = .Range("A41")
End With
"YO" is correctly displayed in Cells(1,1) but my breakpage won't move !?!
Any idea why ?
Thanks !
I'm trying to modify one of my breakpages through VBA:
With ws ' ws is the worksheet I'm working on
.Cells(1, 1) = "YO" ' Just to check something happens
.HPageBreaks(1).Location = .Range("A41")
End With
"YO" is correctly displayed in Cells(1,1) but my breakpage won't move !?!
Any idea why ?
Thanks !