PC Review


Reply
Thread Tools Rate Thread

Automate the selection of items in a pivot field

 
 
=?Utf-8?B?TWFya00=?=
Guest
Posts: n/a
 
      13th Nov 2006
If I could automate this task it would make my life easier, I am a VBA newbie
so this seems complicated to me. I am hoping some of the experts here might
be able to help. What I am looking at trying to accomplish is have some VBA
code that will allow a list of store numbers store be read and only select
those stores on the list in my pivot table rows. I have upwards of 250
stores that could potentially be analyzed by a monthly promotion. Where the
laborious work comes into play is one promo might include only 10 stores
(meaning I have 240 stores to uncheck) and another might have 175 that need
to be displayed. I will admit it does not take too long to manually go
through this list using the keyboard and checking/un-checking the stores, it
does leave room for error.

What I am envisioning is having code that would look at a range of cells in
a column and only display (check) the stores in that range. The list could
be copied onto the sheet where my table is located if this would make the
code easier. So I would copy the list of stores to my sheet, press a button,
and my pivot table would only show the stores in that range. Any help with
this would be greatly appreciated.

Thanks

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hide all items in Pivot Field except specific items VAMS Microsoft Excel Programming 1 19th Jun 2009 10:19 AM
Pivot table auto field selection =?Utf-8?B?Sm9obkM=?= Microsoft Excel Programming 2 27th Feb 2007 11:26 AM
Pivot table : bulk field selection AlfD Microsoft Excel Misc 2 5th Mar 2004 01:47 PM
pivot table field selection =?Utf-8?B?RGlvbg==?= Microsoft Access Forms 1 9th Feb 2004 08:33 PM
Pivot Table - Multiple Pivot Field Selection Paul Mac. Microsoft Excel Programming 3 10th Nov 2003 01:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:21 AM.