Read Data from Web Form to Excel Sheet Using VBA

debmala

New Member
Joined
Apr 18, 2013
Messages
1
Hi Everyone,

I am new to VBA and I need to fetch values from following form into excel sheet.https://www.moneygram.com/wps/portal/moneygramonline/home/estimator?LC=en-US
Once the user clicks on estimate, the exchange rate is displayed.

The excel sheet has column headings as the field names in the form.
In my excel sheet, these is the first row:
From SendCurrency Destination Receiveoption 50 100

From the second row onwards, the sheet should be populated with form field values and exchange rates.
In the column A, the value will always the 'United States', as the sending country is always 'united States'.
In the column B, the value will always the 'US DOLLER', as the sending currency is always 'US DOLLER'.
Column E to Column F should store the exchange rates against the Amount mentioned in their corresponding column in Row1.

For example, for the destination country 'NIGERIA', this should be the output:

From SendCurrency Destination Receiveoption 50 100
UNITED STATES US DOLLER NIGERIA 10 Minute Service - US Doller 1 USD 1 USD
UNITED STATES US DOLLER NIGERIA 10 Minute Service - NAIRA 156.78 NGN 156.78 NGN

And it should continue populating the sheet with exchange rates for all the other destination contries against their available recieve options.

Any help is appreciated. Thanks in Advance.
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
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,163,946
Messages
5,834,521
Members
430,293
Latest member
Blind_Man

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