Asked • 06/12/19

Column widths changing when exporting from SSRS to Excel?

I have a simple SSRS report which contains a single table with a header row, footer row and any number of detail rows. The width of the report and table is 7 inches and the report has .5 inch margins all the way around. But when I export this report to Excel, the width of each column is increased by about 8%, which causes the report to exceed 7.5 inches and overflow to a second page when printing it. I've simplified the report so that no extra or hidden columns are generated in Excel, but it still has this problem. I know I can use Globals!RenderFormat.Name to determine if it's being generated in Excel, but since I can't use an expression in column widths, that doesn't appear to be of any help. How do I get SSRS to maintain the same column widths when exporting to Excel?

1 Expert Answer

By:

Anthony J. answered • 03/31/21

Tutor
New to Wyzant

Microsoft Office Specialist: Excel Associate (Excel and Excel 2019)

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.