D
Daniel Bonallack
I have a line in my code that adjusts the page so that there is no vertical
page break
ActiveSheet.VPageBreaks(1).DragOff Direction:=xlToRight, RegionIndex:=1
This line works fine if you F8 through the code, but if you run the macro,
it returns an error (err.number = 1004, Application-defined or object defined
error)
Any help appreciated!
Daniel
page break
ActiveSheet.VPageBreaks(1).DragOff Direction:=xlToRight, RegionIndex:=1
This line works fine if you F8 through the code, but if you run the macro,
it returns an error (err.number = 1004, Application-defined or object defined
error)
Any help appreciated!
Daniel