Naming worksheets once an SSRS report is exported into Excel

自古美人都是妖i 提交于 2019-12-11 17:07:28

问题


I have a single report which includes several tablixes. Once the report is run, it is exported into Excel by the team using it.

For each tablix I clicked into its properties and ticked Add a page break after

doing this ensures that when the report is exported to Excel each tablix's data appears on a separate worksheet.

However when the export takes place the worksheets are named 'sheet 1', 'sheet 2' etc

Ideally I'd like the separate worksheets in Excel to reflect the name of the tablix, e.g. 'last week', 'this week' etc etc. Or to be able to name the worksheets myself.

Is anyone aware of a way this can be done?

Thanks.


回答1:


I have gotten this to work by placing the tablix into a rectangle, which has a "Page Name" option in the general settings section, this is what's used to create the exported worksheet name in Excel.



来源:https://stackoverflow.com/questions/52366939/naming-worksheets-once-an-ssrs-report-is-exported-into-excel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!