How to populate data into a web page using VBA

CrunchMasterMatt

Board Regular
Joined
Jul 20, 2012
Messages
123
Hi All, here is what I am trying to do:

1) Copy a value (a zip code) from a Named Range in my Excel 2010 worksheet called: Range("nr_ZipCode")

2) Open a web browser/then navigate to the web address listed below, and then input the Zip Code from my Named Range into the zip code box on the webpage (it's the ONLY input box on the webpage!).

Here is the web address:
Code:
http://gisatnrel.nrel.gov/PVWatts_Viewer/index.html

Then programmatically press the GO button on the web page.

Does anyone know how to do this?!?!?

Thank you a million to anyone that does!!!

:)!!
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Forum statistics

Threads
1,206,762
Messages
6,074,792
Members
446,089
Latest member
Andrew123456789

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