Unable to get the entire source code from website

terryleong

New Member
Joined
Apr 9, 2024
Messages
1
Office Version
  1. 2021
Platform
  1. Windows
I am unable to capture the entire source code from website as mentioned below, as it can show from the "view page source".
Actually I just want to find the word "administrativeAreas" in the entire source code, but it didn't capture entire source code, so it can't find from there.


My code:

URL = "https://www.iproperty.com.my/rent/k...f4e07ac1e5308a4c7deec&property=Majestic Maxim"

With CreateObject("MSXML2.XMLHTTP")
.Open "GET", URL, False
.send
ori_sourceCode = .responseText

End With

start_search = InStr(ori_sourceCode, "administrativeAreas")
MsgBox start_search



start_search result is 0
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

Forum statistics

Threads
1,215,198
Messages
6,123,593
Members
449,109
Latest member
Sebas8956

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