Click here to Skip to main content
15,888,816 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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.
Posted
Updated 22-May-11 8:14am
v2
Comments
sapien4u 1-Apr-11 9:30am    
Could anyone please comment some idea in this? Its really urgent. .
walterhevedeich 1-Apr-11 10:50am    
It would help us if you post some code, like what your rows are, and how do you want them to be grouped. It would give us a better understanding on your problem.
sapien4u 5-Apr-11 5:39am    
I have to group a few columns in the excel so that they can be expanded or collapsed. I am transforming a Dataset with multiple tables having relation, into XML using Simple transformation. In this XSLT, I need to add the code to group the particular columns together in the final excel.

Currently I have the working code of Dataset->XML+XSLT->Excel converson. All i want is to enable grouping so that it can be expanded and collapsed.

1 solution

Within the excel code you would call something like this...

SQL
Rows("10:14").Select
  Selection.Rows.Group


Here is a CP Archive Link[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900