Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am exporting an Access 2000 table to an Excel 2000 workbook
record-by-record using VBA code. The rercords are already sorted by the value in the first field. I would like to group rows by the value in the first column and add a collapsible subtotal row at the bottom of each group, plus a grand total at the end of the document. I know this can be done with Data - Group and Outline in Excel, but I can find no info on how to do this programmatically with VBA code. Can this be done? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Do it manually with the macro recorder switched on, and you will generate
the necessary code. -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "PaulS" wrote in message ... I am exporting an Access 2000 table to an Excel 2000 workbook record-by-record using VBA code. The rercords are already sorted by the value in the first field. I would like to group rows by the value in the first column and add a collapsible subtotal row at the bottom of each group, plus a grand total at the end of the document. I know this can be done with Data - Group and Outline in Excel, but I can find no info on how to do this programmatically with VBA code. Can this be done? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Outline(grouping) more than 8 levels | Excel Discussion (Misc queries) | |||
Grouping and outline to the left or above | Excel Discussion (Misc queries) | |||
Grouping & Outline | Excel Discussion (Misc queries) | |||
Grouping and outline | Excel Discussion (Misc queries) | |||
Grouping and outline | Excel Programming |