英文:
Unable to change Excel sheet tab name when exporting SSRS report?
问题
When I export the SSRS report to Excel, the report does not have the desired sheet tab name, despite the Tablix Properties 'Name' field having a value other than the report name.
I created a report in Report Builder and have set the 'Name' field in the Tablix Properties. The report matches configurations in every set of properties I can find to the first version of the report. However, since it prints to one page only, I can't use the page break solutions suggested by other posts.
In v1 (not made by me, and the creator is not with the company anymore), the exported report has a sheet tab named 'Shipments', but when I perform the same action in v2, the tab is instead the report name.
I am using Report Builder version 15.0.19914.0 and Excel through Office 365.
英文:
When I export the SSRS report to Excel, the report does not have the desired sheet tab name, despite the Tablix Properties 'Name' field having a value other than the report name.
I created a report in Report Builder and have set the 'Name' field in the Tablix Properties. The report matches configurations in every set of properties I can find to the first version of the report. However, since it prints to one page only, I can't use the page break solutions suggested by other posts.
In v1 (not made by me, and the creator is not with the company anymore), the exported report has a sheet tab named 'Shipments', but when I perform the same action in v2, the tab is instead the report name.
I am using Report Builder version 15.0.19914.0 and Excel through Office 365.
答案1
得分: 0
The tablix的PageName属性控制Excel中的标签名,而不是Name。
在Visual Studio中,F4按钮将打开属性窗口。
在Report Builder中,单击View选项卡中的Properties复选框以打开属性窗口。
您可以使用静态文本、字段(如示例中所示)或表达式。
英文:
The tablix's PageName property controls the tab name in Excel, not the Name.
In Visual Studio, the F4 button will open the Properties window.
In Report Builder, click on the Properties check box in the View tab to open the properties window.
You can use static text, a field (as in the example) or an expression.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论