PT grouping (text) - vba

swinglow

Active Member
Joined
Mar 31, 2010
Messages
394
hi all,

is there any way to manipulate PT groupings other than Selection.Group?

For example, if I have a PT that already has manual groupings, can I add/remove items (without ungrouping everything) with VBA?

I've been spinning my wheels on this problem for weeks...

Code:
Item2    Item
Fruit     apple
           orange
           pear
           lettuce
Veggie  raddish
           bean

in the example above, lettuce is in the wrong category. Is there a way to ungroup it from Fruit and add it to Veggie?
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
to clarify...

I'm looking for a definitive "no". I already suspect that there's no good way to do it, so I'm developing a procedure that will simulate the ability, but it's very tedious. Has anybody tried something like this?
 
Upvote 0

Forum statistics

Threads
1,224,513
Messages
6,179,214
Members
452,895
Latest member
BILLING GUY

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top