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

reniantony

New Member
Joined
May 24, 2017
Messages
6
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..!

:):)
 

Forum statistics

Threads
1,081,624
Messages
5,360,093
Members
400,570
Latest member
Ben Morgan 1985

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top