I get a error on this line
HPageBreaks.Add Before:=cell