VBA: how to put filter that when selected shows a certain sheet from other excel file

cmcamilo

New Member
Joined
Dec 19, 2022
Messages
11
Office Version
  1. 365
Platform
  1. Windows
Hello,

I am trying to do something that I am not sure it can be done.
I have multiple excel files for different KPIs. Each excel file has 2 sheets: 1. with the data that is inserted by our workers; 2. a visualization page that is only touched by managers (see image attached "KPI_1").
My goal is to have an excel file that aglomerates all the sheets number 2.
I would like to have a filter where I select KPI 1 or KPI 2 or KPI 3, etc. And when a certain KPI is selected the data from the visualization sheet of the KPI should appear (image attached "Example". In this example I only pasted a print, but the point is to see the actual data replicated). This should be dynamic, this is, I should be able to interact with the data (use the original year/month filters that appears in the original excel).
Keep in mind that I do not want to open the original excel when I select a certain KPI. I want it to show the data in the current excel file.

Is this even possible to be made?
Thank you so much in advance.
 

Attachments

  • KPI_1.png
    KPI_1.png
    52.4 KB · Views: 5
  • Example.png
    Example.png
    63.6 KB · Views: 4

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,214,932
Messages
6,122,334
Members
449,077
Latest member
Jocksteriom

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