+ Reply to Thread
Results 1 to 4 of 4

Click on button web page using VBA

  1. #1
    Registered User
    Join Date
    11-03-2020
    Location
    Egypt
    MS-Off Ver
    2013
    Posts
    4

    Click on button web page using VBA

    I need your support on small thing, I am create script code to copy data to excel but first I need to click on button to start search my code work fine till find the element I got error mismatch type
    Attached Files Attached Files

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Click on button web page using VBA

    You may be better off dimming the button as an object, then set it with GetElementById("button_search").

    I'd test and be more complete, but since I don't have the url or login info, hopefully the above is enough.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  3. #3
    Registered User
    Join Date
    11-03-2020
    Location
    Egypt
    MS-Off Ver
    2013
    Posts
    4

    Re: Click on button web page using VBA

    URL is a local site
    How can off dimming the button

  4. #4
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Click on button web page using VBA

    I was thinking this *should* work:

    Please Login or Register  to view this content.

+ 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. Can't Click button [on web page in IE] with only class name
    By drflgd in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-30-2020, 11:16 PM
  2. Get element by value? [click on option button on web page]
    By emjay973 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-10-2017, 05:52 PM
  3. VBA to Automate (Open web page, Select Dropdown, click button, fetch data in excel)
    By Mumbaimiraroad304 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-25-2015, 09:17 AM
  4. [SOLVED] Use VBA to Automate Actions on Webpage (Open web page, Select Dropdown, click button)
    By ravikiran in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-03-2015, 07:29 AM
  5. Replies: 5
    Last Post: 12-12-2013, 08:51 PM
  6. VB macro to click after logging Page button with attribute Value
    By shreekant in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-17-2013, 07:56 AM
  7. Move the page with button click?
    By horton in forum Excel General
    Replies: 1
    Last Post: 07-05-2008, 01:11 PM

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