I am not sure on why ClearPageBreaks isn't working for you , but are you sure this is the problem?
An html export won't have page breaks because that isn't supported in the html standard, so page breaks will be inserted by the browser when needed. We do support inserting "page-break-after" attribute that will be accepted only by internet explorer, but you can turn those off by setting the HidePrintObjects property of the HtmlExport component to not include THidePrintOptions.PageBreaks.
Can you post an example of the html file you are getting and what you would expect to get so I can get a better idea of the problem?
Thanks for the extra information, I think I now understand the problem. Well, print areas are just named ranges with an special name (a 1-char name that Excel displays as the string "print_area"), so to remove them, you just need to remove the named ranges.
The only thing to be aware of is that you might have more than one print_area, one per sheet. To remove all print areas in a file, you can use this code:
void RemovePrintAreas(ExcelFile xls)
{
}
Note how we run the loop in reverse so when you delete a print area it won't crash the loop. Also, this will remove all print areas in all the sheets. If you want to remove a particular sheet only, you would have to do something like: