Add a parameter as HeaderDisplay and add available values with True and False and default value as True.
Create a rectange to the Page header. Add the header content. On the rectangle Visibility set to use parameter HeaderDisplay in the expression as. (= Not HeaderDisplay)
When user select the False, the header will not be visible and will not export to excel