Hi All:
How can I set a pagebreak on a date value programmically in vb for an excel file?
Thanks:wave:
Printable View
Hi All:
How can I set a pagebreak on a date value programmically in vb for an excel file?
Thanks:wave:
Probably just loop through that column evaluating the cell date
value and if it meets whatever date value criteria then run
something like this code.
Just set the active cell where you want the page break.
HTHVB Code:
ActiveWindow.SelectedSheets.HPageBreaks.Add Before:=ActiveCell
Thanks RobDog888:thumb:
No prob.