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
This article has been archived. It is offered "as is" and will no longer be updated.
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 informationTo 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:
Article ID: 2216480 - Last Review: 12/12/2015 09:13:25 - Revision: 2.0
Microsoft SQL Server 2008 Enterprise, Microsoft SQL Server 2008 Developer, Microsoft SQL Server 2008 Standard
- kbnosurvey kbarchive kbinfo kbexpertiseinter kbprb kbbug kbtshoot kbsurveynew KB2216480