Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi All,
I am using VBA to get some records from an Oracle db and then sort and subtotal them. Everything works fine except that I would like one of the fields which does not drive the subtotals to be displayed next the field which shows Item Total. Example: Account Name | Account # | Amount Overpayment | 12345678 | 23.00 Overpayment | 12345678 | 77.00 If you drive your subtotals off of Account # then when you collapse the subtotal one level you will see only 12345678 Total and the Account Name field will be empty. This normally makes sense because the subtotaled list could potentially have different information in each Account Name field. But in my case it is always the same for each subtotal group. Does anyone know how to programatically make it display when it is collapsed? I guess I could evaluate the cell above it and take that value but maybe someone knows a better way here? Thanks Mike msilva@ed (dot) umuc (dot) edu ------------------------------------------------ ~~ Message posted from http://www.ExcelTip.com/ ~~ View and post usenet messages directly from http://www.ExcelForum.com/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Subtotals problem: Excel 2003 (not, AFAIK, the nested subtotals bug) | Excel Discussion (Misc queries) | |||
Original subtotals should not be within nested subtotals in excel | Excel Worksheet Functions | |||
Subtotals: Nested subtotals below higher subtotal | Excel Discussion (Misc queries) | |||
How do I copy an outline w/ subtotals & paste just the subtotals | Excel Discussion (Misc queries) | |||
Problem with nested subtotals, placing secondary subtotals BELOW . | Excel Discussion (Misc queries) |