Link to home
Start Free TrialLog in
Avatar of Mirsent
Mirsent

asked on

Turn off "Export Page Header and Page Footer" via RDC when exporting to Excel

When exporting to Excel via the Report Viewer there is an option "Export Page Header and Page Footer". I want to set this option programatically using the ExportOptions object in the Report Designer Component but there does not seem to be a way to do this. Is there a way to do this?

The reason I want to do this leads me to the real problem. I have a copyright watermark on my report which is implemented in tall Page Header with the Underlay Following Sections option set. This works perfectly in Crystal Viewer but when I export to Excel the copyright image appears on every page and messes up the report. If I can choose not to export the Page Header that solves the problem. If it's not possible to suppress printing of the Page Header is there another way to have a watermark that does't cause this problem?

I'm using Crystal Reports version 9.

Thanks in advance
Miriam
ASKER CERTIFIED SOLUTION
Avatar of frodoman
frodoman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mirsent
Mirsent

ASKER

Thanks, that's a great suggestion. I've tried it and it works perfectly.
Glad to help.