简体   繁体   English

导出不带组的 SSRS 时命名 Excel 工作表

[英]Naming Excel Worksheets when Exporting SSRS without Groups

I have created a handful of tables in SSRS, all with pagebreaks in between them, which successfully exports onto separate excel worksheets/tabs.我在 SSRS 中创建了一些表,它们之间都有分页符,它们成功导出到单独的 excel 工作表/选项卡上。 The tables are not grouped.表未分组。 I am looking for a way to have the worksheets/tabs be automatically named when the report is exported, but can only find ways to do that when there are groups in the report.我正在寻找一种在导出报告时自动命名工作表/选项卡的方法,但只有在报告中有组时才能找到这样做的方法。 I am pretty sure this is possible, as I do have access to another report where this seems to be the case, but I can't seem to find anything on how it is being accomplished.我很确定这是可能的,因为我确实可以访问另一个似乎是这种情况的报告,但我似乎找不到任何关于它是如何完成的。

Click the tablix, make sure it is the tablix not one of the cells that is selected.单击 tablix,确保它是 tablix,而不是选定的单元格之一。 You should see the cross handle in the top left.您应该在左上角看到十字手柄。

在此处输入图像描述

Now in the properties panel, just edit the page name.现在在属性面板中,只需编辑页面名称。 This can either be static text or an expression.这可以是 static 文本或表达式。

在此处输入图像描述

This defines the worksheet name when exported这定义了导出时的工作表名称

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM