LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default select X first/last columns of a pivot table with VBA

In a reporting application using pivot tables in Excel 97, I need t
solve the following problem.

How can I, using VBA code,
- select the 5 first columns of a pivot table and make a first group?
- then select all other columns, make a second group and summarize dat
of these last columns in a "Others" column?

Knowing that:
- data are in descending order, based on column values
- the number and name of columns can be different from one report t
the other.

Any help will be very much apreciated

--
Message posted from http://www.ExcelForum.com

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Select a cell in a Pivot table Kevin Excel Discussion (Misc queries) 2 October 31st 08 10:30 AM
Filter lines with Pivot table and non pivot table columns Grover Charts and Charting in Excel 4 September 28th 07 03:16 AM
Filter lines with Pivot table and non Pivot table columns Grover Excel Discussion (Misc queries) 1 September 26th 07 12:48 AM
Select Pivot Table Wanna Learn Excel Discussion (Misc queries) 1 July 17th 07 08:01 PM
My pivot table does not accept select non-adjacent columns? UT Excel Discussion (Misc queries) 0 September 27th 06 11:42 PM


All times are GMT +1. The time now is 11:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"