Create WebQuery : Login>Create webquery : problem - after login new web page opens

reniantony

New Member
Joined
May 24, 2017
Messages
8
Hello Excel masters,

I wish to design a time sheet macro for employees in excel using VBA using webquery. I have done most of the part (thanks to you guys for posting replies on various forums). The difficult part is after clicking login button, the actual timesheet browser opens in a new internet explorer window which escapes out of the webquery function. These are the steps followed to access the time sheet:

1. Open URL (done using macro)
2. login (done using macro)
3. Click login button (done using macro) ; now the hard part starts
4. a new web internet explorer window opens (search URL and activate this particular new web window; done using macro)
5. Create webquery with this new window - very difficult for a rookie like me. (I cannot simply copy and paste the new window's URL. If I copy and paste this new window's URL in address bar, it takes me back to the login page; this is really the pain part)

Any help from you masters will be of great great help to me..!

:):)
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,223,249
Messages
6,171,031
Members
452,374
Latest member
keccles

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