Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

exporting to excel: how to group rows?

Status
Not open for further replies.

davikokar

Technical User
May 13, 2004
523
0
0
IT
hallo,

my export function takes data from a treeview and export them to a excel worksheet. After that I would like to group some rows, but I cannot find a way to do it. Does anyone has an example? Thanks
 
Try something like this.

worksheet.Rows.get_Range("Your row range").Group(Type.Missing, Type.Missing , Type.Missing, Type.Missing);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top