How Do I Link A Macro to Tables That Are Linked To Drop Down Lists?

motoman397

New Member
Joined
Dec 2, 2016
Messages
1
I am trying to link two macro buttons titled " Retrieve Financial Information" and " Display 10 Year Stock History" to a table that is linked to 5 drop down lists " Preferred Risk", " Gives Dividend", " Price/Share", "TheStreet Rating", " Preferred Industry" so that depending on what I select in each of the 5 drop downs, I will get automated results in the 3 tables named " Top 10 Nasdaq stocks" " Top 10 SP 500 stocks" " Top 10 Dow stocks" with the best 10 stocks for each index corresponding with my preferences in the drop downs. After the table is filled out with the best stocks I want to be able to link the two macro buttons so I can click them and have financial information (specifically the financial section of yahoo finance for the stock) and the 10 year history or historical data section of yahoo finance displayed when the other macro is selected. Any ideas on how to accomplish this? I have heard about being able to make web queries change with the drop downs but have no clue how to accomplish that. Thanks.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,492
Messages
5,837,668
Members
430,509
Latest member
steve85215

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
Top