VBA - get data from web source, based on drop-down selection

mikeypday

New Member
Joined
Mar 18, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi all,

First post here.

I have a spreadsheet which is trying to do the following:

  • User makes a location selection from drop down list
  • User hits macro button on the "Test Recording" sheet
    • Button should start by looking at the location selection in the drop down list, and then pulling data from a web-based source and updating the values in a table on another sheet - "Data Sources"
    • This refreshed data should then be pulled from the "Data Sources" sheet and back into a cell on the sheet where the macro was pressed - "Test Recording"
  • Additionally, when a new test is to be recorded, a new worksheet would be created and the functionality outlined above needs to be replicated for every new sheet created

Any support on this would be greatly appreciated! Screenshots attached
 

Attachments

  • Geographies screenshot.JPG
    Geographies screenshot.JPG
    151.6 KB · Views: 15
  • VBA code screenshot.JPG
    VBA code screenshot.JPG
    223.4 KB · Views: 17

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Forum statistics

Threads
1,214,948
Messages
6,122,420
Members
449,083
Latest member
Ava19

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