ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   subtotal/grouping problem (https://www.excelbanter.com/excel-programming/375841-subtotal-grouping-problem.html)

Hinojosa via OfficeKB.com

subtotal/grouping problem
 
I have a macro that cuts rows and pastes them into another excel workbook
that has a subtotal format. When the rows are inserted to the proper
location it messes up the grouping so all the groups are incorrect it's
recognizing the subtotals but it's just not grouping it. Is anyone aware of
way to fix this? I'm trying to make it so that it will just keep adding the
info. into the proper location and so that it will keep extending the group.

Thanks
MartÃ*n Hinojosa

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200610/1


Jim Thomlinson

subtotal/grouping problem
 
I assume you used Data - Subtotal to insert your subtotals. The only
effective way to include now data would be to remove the subtotals and add
teh new records and then replace the subtotals. An easier solution might be
to change your subtotals to a pivot table that is refering to a dynamic
range... That will work quite a bit easier. Let me know if you want help with
that...
--
HTH...

Jim Thomlinson


"Hinojosa via OfficeKB.com" wrote:

I have a macro that cuts rows and pastes them into another excel workbook
that has a subtotal format. When the rows are inserted to the proper
location it messes up the grouping so all the groups are incorrect it's
recognizing the subtotals but it's just not grouping it. Is anyone aware of
way to fix this? I'm trying to make it so that it will just keep adding the
info. into the proper location and so that it will keep extending the group.

Thanks
MartÃ*n Hinojosa

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200610/1




All times are GMT +1. The time now is 02:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com