FIX: The margins are not retained in a report when the report is exported to Excel on a server that is running SQL Server 2008, and then you preview the report in Excel

Article translations Article translations
Close Close
Article ID: 2216480 - View products that this article applies to.
Expand all | Collapse all

On This Page


Consider the following scenario:
  • You run Report Builder on a server that is running Microsoft SQL Server 2008.
  • In Report Properties, you set the margins of the report to 0.25 inches, and then you save the report.
  • You run the report, and then you export the report to Microsoft Excel.

In this scenario, when you click Print Preview in Microsoft Excel and then show the margins, the margins that you set are not retained. For example, the top and bottom margins are set to 1 inch, and the right and left margins are set to 0.75 inches.


Service pack information

To resolve this problem, obtain the latest service pack for SQL Server 2008. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
968382 How to obtain the latest service pack for SQL Server 2008


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

This problem was first corrected in SQL Server 2008 Service Pack 2 for SQL Server 2008.


For more information about Report Builder in SQL Server 2008, see the following topic on the Microsoft TechNet website:
Administering Report Builder 2.0


Article ID: 2216480 - Last Review: July 8, 2010 - Revision: 2.0
  • Microsoft SQL Server 2008 Enterprise
  • Microsoft SQL Server 2008 Developer
  • Microsoft SQL Server 2008 Standard
kbinfo kbexpertiseinter kbprb kbbug kbtshoot kbsurveynew KB2216480

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from