userform list view with multiple filters

si3po

New Member
Joined
Jan 7, 2019
Messages
45
Hi all, I hope that what I’m about to ask doesn’t seem too difficult to picture, but I’ll try to put it out as plainly as I can for you to see what I’m getting at.

I run a Stock Control workbook containing a very large dataset spread over about 20+ worksheets – let’s call it “Stock KPIs – Overview”. Each worksheet contains specific statistics relating to a stock holding key performance indicator (KPI) – for example ‘Return Dues In’, ‘Stock Dues Out’, ‘Lifeexpired Items on shelf’, ‘Incorrect Storage Location’ and so on.

Each of these worksheets contain an auto-filter to help withStock Control Reporting, but the sheets themselves are hidden to prevent everyday users (i.e. not my stock control team) from altering the data in the worksheets.

Here’s where I need the assistance if possible. I want to create a single worksheet in my Stock Control Reporting workbook – called “MA MonthlyStock KPCs” – to contain a user form that, with the addition of two filters, allows the user to select their ‘Stock Site’ and the ‘Report Type’ required. The filtered data from the respective sheet (tied to the ‘Report Type’ filter) is then shown in a list view area, for example; Stock Site: ‘Warehouse 2’; Report Type: ‘Life-Ex Items on Shelf’ shows all lines for that site that are ‘LifeEx. On shelf’ at that location. If at all possible it would also be incredibly useful to be able to print the list view data that had been shown using the filters.

so, here’s where I’m stuck:
1 – Can multiple filters be used to create a userform list view by pulling data from another worksheet? How?
2 – Is itpossible to print the data held in a filtered userform list view? How?

Once again, really appreciate any assistance you wonderful people might be able to provide.

Simon
 
Last edited:

si3po

New Member
Joined
Jan 7, 2019
Messages
45
**bump**

Ok, so it seems that my post above isn't clear enough or it too has got you kind folk confused.


I have PivotTables created for all of my worksheets containing the datasets I need to use. Is it possible for me to use a VBA Macro to use two ComboBox filters tofilter and display data from another worksheetwithin the same workbook.

For example, if the first ComboBox1 is set to stock location “Warehouse 2” and ComboBox2 is set to refer to the worksheet called “Life Expiry”,the VBACode for the UserForm will use and filter the PivotTable on worksheet ‘LifeExpiry’ and show all items with a stock location of ‘Warehouse 2’ within a ListBox on the same UserForm.
 
Last edited:

Forum statistics

Threads
1,082,305
Messages
5,364,401
Members
400,800
Latest member
germanpbv

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top