通过XSLT进行Excel分组

编程入门 行业动态 更新时间:2024-10-15 08:21:16
本文介绍了通过XSLT进行Excel分组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

你好朋友, 我正在开发用于导出具有与Excel相关的多个表的数据集的代码. 现在,我通过将数据集转换为XML并将其转换为具有XSLT格式的Excel来导出数据集. 现在工作正常. 问题是我想对新Excel文件中的行进行分组.我必须在不使用COM对象的情况下实现它. 因此,在通过XSLT代码进行操作时,我需要帮助. 我已经在Google上搜索了,却找不到任何好主意/代码. 有人可以帮我吗?这真的很紧急.

Hello Friends, I am in middle of developing a code for exporting Dataset having multiple tables with relation to Excel. Now i am exporting the dataset by converting it to XML and transforming it to Excel with XSLT formatting. It is working fine now. The issue is i want to group the rows in the new Excel file. I have to implement it without using the COM object. So i need help in doing it via XSLT code. I have googled it and coudnt find any good idea/code. Could anyone please help me in this? Its really urgent.

推荐答案

在excel代码中,您会这样称呼... Within the excel code you would call something like this... Rows("10:14").Select Selection.Rows.Group

此处是CP存档链接 [ ^ ]

Here is a CP Archive Link[^]

更多推荐

通过XSLT进行Excel分组

本文发布于:2023-11-22 03:44:57,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1615848.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:XSLT   Excel

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!