+ Reply to Thread
Results 1 to 39 of 39

Log in website, navigate trough menu, insert data, click button, export table

  1. #1
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Log in website, navigate trough menu, insert data, click button, export table

    Hey all,

    I can't get it done, I ll update this thread (post #1) when i find a solution to any subject as listed here.

    1. Log in website

    Please Login or Register  to view this content.
    2. Navigate trough menu

    Dienstrooster - mijn rooster.png

    3. Insert data

    Datefrom - dateto.png

    i got the following code, but cant see if it works yet because i fail at point 2.

    Please Login or Register  to view this content.

    4. Click button to change list style
    click the button "Toon als lijst" as in the picture at point 3.

    5. Export table

    Export to excel.png
    Last edited by 323428; 06-30-2017 at 10:23 AM.

  2. #2
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    Also appriciated if you only know how to solve step #2.

  3. #3
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    Bump this thread, if i need to specify more info let me know please

  4. #4
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    I would really appriciate help, even willing to pay for the solution. Pm me if interested

  5. #5
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    Good morning all, there must be someone who knows how to solve this issue? Or is this site unable to automate?

  6. #6
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    Bump this thread

  7. #7
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    bump this thread

  8. #8
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    bump this thread

  9. #9
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    Bump this thread

  10. #10
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    bump this thread

  11. #11
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    bump this thread

  12. #12
    Registered User
    Join Date
    06-30-2017
    Location
    Mumbai, India
    MS-Off Ver
    MS Office 2007
    Posts
    5

    Lightbulb Re: Log in website, navigate trough menu, insert data, click button, export table

    I dont know if the suggestion will help your case/problem at hand & i am not promoting, agent or otherwise but
    take a look at this:
    https://www.youtube.com/playlist?lis...VL4sWRWICj_clM

    more specifically Video 48 & 49.


    Again sorry to moderators for suggesting a youtube video, instead of trying to come up with solution.

  13. #13
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Log in website, navigate trough menu, insert data, click button, export table

    You're checking the name property, you should be using getelementbyid

  14. #14
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    Quote Originally Posted by rpdDrp View Post
    I dont know if the suggestion will help your case/problem at hand & i am not promoting, agent or otherwise but
    take a look at this:
    https://www.youtube.com/playlist?lis...VL4sWRWICj_clM

    more specifically Video 48 & 49.


    Again sorry to moderators for suggesting a youtube video, instead of trying to come up with solution.
    Thanks for your input, ill take a look at this later today and get back to you


    Quote Originally Posted by Kyle123 View Post
    You're checking the name property, you should be using getelementbyid
    The click items dont have ID's, or atleast i dont have acces to them.
    getelementsbyname works for the login part.
    i just cant figure how to click "Dienstrooster" and "mijn rooster" after that.

  15. #15
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Log in website, navigate trough menu, insert data, click button, export table

    Don't click them, just fill them in, they're text boxes

  16. #16
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141
    Quote Originally Posted by Kyle123 View Post
    Don't click them, just fill them in, they're text boxes
    I can fill the text boxes but then i need to click the links as in the picture. They are marked orange and red

  17. #17
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Log in website, navigate trough menu, insert data, click button, export table

    Sorry, I don't follow. Can't you just fill in the date fields and submit the form?

  18. #18
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141
    Quote Originally Posted by Kyle123 View Post
    Sorry, I don't follow. Can't you just fill in the date fields and submit the form?
    To get there i need to log in, and navigate to the right table where i can fill in the dates and submit the form.

    I cant go straight to the right table because every login the site creates an Unique ID.

  19. #19
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Log in website, navigate trough menu, insert data, click button, export table

    I understand that you need to log in. You've got that covered haven't you? Is the form in the page before you click the links and just hidden? It would appear that it is, you don't need to be able to see the text boxes to fill them in and submit the form

  20. #20
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    Im not sure what you mean but i think the form isnt there straight after login. Check your pm

    Edit: Yes i got the login working
    Last edited by 323428; 07-01-2017 at 12:24 PM.

  21. #21
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141
    Quote Originally Posted by Kyle123 View Post
    I understand that you need to log in. You've got that covered haven't you? Is the form in the page before you click the links and just hidden? It would appear that it is, you don't need to be able to see the text boxes to fill them in and submit the form
    The form is not in the page after login, i need to click the link in the menu to get there.

  22. #22
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    Quote Originally Posted by Kyle123 View Post
    I understand that you need to log in. You've got that covered haven't you? Is the form in the page before you click the links and just hidden? It would appear that it is, you don't need to be able to see the text boxes to fill them in and submit the form
    i understand your question now. the URL shows the same on every page, this is not the case. the URL changes and the form is on a different page, the problem is every visit the site gives me an unique ID which is in the URL aswell if i would navigate to that URL directly it would not open because its valid for 1 visit.

    the menu in in a different frame which i think i need to refer to, i just didnt figure out how to do it.
    brookhuis 1.png

    brookhuis 2.png
    Last edited by 323428; 07-04-2017 at 07:48 AM.

  23. #23
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    Bump this thread

  24. #24
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    Bump this thread

  25. #25
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    Bump this thread

  26. #26
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    Bump this thread

  27. #27
    Valued Forum Contributor
    Join Date
    05-21-2009
    Location
    Great Britain
    MS-Off Ver
    Excel 2003
    Posts
    550

    Re: Log in website, navigate trough menu, insert data, click button, export table

    Quote Originally Posted by 323428 View Post
    i just cant figure how to click "Dienstrooster" and "mijn rooster" after that.
    Your last post shows those links are in a frame named "menu", therefore try this:
    Please Login or Register  to view this content.
    And similarly for the "Mijn rooster" link.

    The above code uses named classes in the MS HTML Object Library, so you must set a reference to that library - click Tools then References in VBA.
    Last edited by Chippy; 07-09-2017 at 06:41 PM.
    Post responsibly. Search for excelforum.com

  28. #28
    Valued Forum Contributor
    Join Date
    05-21-2009
    Location
    Great Britain
    MS-Off Ver
    Excel 2003
    Posts
    550

    Re: Log in website, navigate trough menu, insert data, click button, export table

    Duplicate post deleted.
    Last edited by Chippy; 07-09-2017 at 06:41 PM. Reason: Duplicate post

  29. #29
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141
    Quote Originally Posted by Chippy View Post
    Your last post shows those links are in a frame named "menu", therefore try this:
    Please Login or Register  to view this content.
    And similarly for the "Mijn rooster" link.

    The above code uses named classes in the MS HTML Object Library, so you must set a reference to that library - click Tools then References in VBA.
    Sorry for the late reply, will try this tommorow and get back to you

  30. #30
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    it gives compile error at this part
    Please Login or Register  to view this content.
    Type's do not match is the error.

  31. #31
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    Anyone knows why?

  32. #32
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    Bump this thread

  33. #33
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    Bump, still didnt figure why it errors at .links

  34. #34
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141
    Quote Originally Posted by 323428 View Post
    it gives compile error at this part
    Please Login or Register  to view this content.
    Type's do not match is the error.
    Cant get this part to work

  35. #35
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    Bump this thread

  36. #36
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    i could give my login credentials if it helps to inspect the site

  37. #37
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    the selected bit is what i am trying to click.

    Knipsel.PNG

  38. #38
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141
    Quote Originally Posted by 323428 View Post
    the selected bit is what i am trying to click.

    Attachment 543552
    Anybody knows how? I cant refer to the link because every login i get a Unique sesion ID

  39. #39
    Forum Contributor
    Join Date
    03-30-2017
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    141

    Re: Log in website, navigate trough menu, insert data, click button, export table

    If you know this is impossible please also let me know, then ill stop searching

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need to click on search button in a website using vba.
    By Tonmoy Roy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-17-2017, 11:53 PM
  2. Get Data from a Website - Unable to click Button
    By karan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-17-2016, 04:45 PM
  3. VBA (Excel) code to click button on website
    By SteveCole in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-28-2013, 05:05 AM
  4. To Click on log in button of a website
    By sushil10s in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-01-2013, 01:20 AM
  5. add button to right-click menu in External Data range
    By dlh in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 07-21-2010, 07:39 PM
  6. Click button on website from VBA
    By davegugg in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-12-2009, 05:25 AM
  7. [SOLVED] [SOLVED] Create floating button based on button click in menu
    By ExcelMonkey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-12-2005, 02:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1