VBA Macro - Extract Price and Flight Info from Skyscanner

fatboy_1989

New Member
Joined
Oct 10, 2014
Messages
19
Hi,

Could somebody please help me to extract information from the 1st & 2nd flight from the following link on Skyscanner using Excel VBA?

Please reply with annotated/commented code as my VBA skills are not fantastic so I like to know what happens within the macro and not just press play blindly

An example flight i need the information for is:
https://www.skyscanner.net/transport/flights/lond/berl/170901/170908/

I would like to extract the following for the 1st two flights suggested by Skyscanner:
  • Outward Airport & Time
  • Arrival Airport & Time
  • Return Departure Airport & Time
  • Return Arrival Airport & Time
  • Total Price
Note: Even the info and price for the first flight is fine too.

I have tried to use the "Get External Data" > "From Web" option within excel but the in built web browser does not have javascript built in so I cannot get the information I need.

Many thanks
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,215,048
Messages
6,122,862
Members
449,097
Latest member
dbomb1414

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