Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Filter Excel Pivot, based on user entry form

I'm attempting to create a single Pivot Table that automatically
applies a filter, depending on what the user enters into a form. For
example, salesperson "John" opens the excel file and enters his name
into a pop-up form. Then a Pivot is displayed with only John's
sales--filtered by selecting John's salesperson number in the Pivot's
filter.

Does anyone know how to do this?? Help would be greatly appreciated!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default Filter Excel Pivot, based on user entry form

I have been working on something similar to this using combo boxes. This
should work.
You can create a macro to accomplish this using the following code:
ActiveSheet.PivotTables("PivotTable1").PivotFields ("salesperson
name").CurrentPage = ActiveSheet.Range("G3").Value

When a user types a salesperson name into cell G3, or which ever you
specify, they can run the macro to update the pivot table. You can create a
button for them to click and assign the macro to that to make it easier on
the users.

Hope this helps


"Jayco" wrote:

I'm attempting to create a single Pivot Table that automatically
applies a filter, depending on what the user enters into a form. For
example, salesperson "John" opens the excel file and enters his name
into a pop-up form. Then a Pivot is displayed with only John's
sales--filtered by selecting John's salesperson number in the Pivot's
filter.

Does anyone know how to do this?? Help would be greatly appreciated!


Reply
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
Create form in Access, use as frontend for Excel bv111 Excel Discussion (Misc queries) 0 June 28th 06 10:27 PM
Auto email - With every new entry on my user form Vikram Excel Discussion (Misc queries) 0 June 19th 06 06:00 AM
In Excel - can I create a formula based on a filter? Elisabeth Hunt Excel Worksheet Functions 0 June 2nd 06 08:47 PM
US stock quotes in excel for UK based user nicp Excel Worksheet Functions 0 February 14th 06 09:01 AM
Display form from an VB application in Excel kuhni Excel Discussion (Misc queries) 0 August 10th 05 06:04 PM


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

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

About Us

"It's about Microsoft Excel"