+ Reply to Thread
Results 1 to 1 of 1

VBA click button in a webpage

  1. #1
    Registered User
    Join Date
    01-03-2016
    Location
    india
    MS-Off Ver
    2007
    Posts
    43

    VBA click button in a webpage

    Hi Experts.
    i am trying to spool one excel report from website by giving From date and To Date are as inputs iam able to give enter dates with my code but unable to click generate button. Any help greatly appreciated. thanks in advance.



    Below is the HTML source code for Export Report Button

    input type="submit"
    name="ctl00$ContentPlaceHolder1$btnExportXLS"
    value="Export Report"
    onclick="if(!Validate()) return false;"
    id="btnExportXLS"
    tabindex="3"
    class="button blue"
    onmousedown="return isTxtwithfocus(event, this)"
    style="width:101px;float: none; margin-top: 2px;"





    this is my code so far " Last two lines is for clicking the button"


    Please Login or Register  to view this content.
    Last edited by Devendra.dvm; 12-01-2018 at 07:31 AM.

+ 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. VB code to click on a webpage "button" that only has a Class reference
    By crossfitciaran in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-09-2017, 11:20 AM
  2. Macro to click a 'choose file' button on webpage, browse for a local file, and click open
    By Insaintime32 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-06-2016, 04:46 PM
  3. [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
  4. Paste Data into Webpage and click Button
    By Gannon2145 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-13-2015, 07:33 AM
  5. VBA Macro Click on webpage button
    By ttbake in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-17-2014, 07:18 PM
  6. VBA to click on 'Continue' button on webpage
    By Jimbo77 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-20-2014, 06:49 PM
  7. click webpage button problem
    By ckjason in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-01-2013, 03:56 AM

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