+ Reply to Thread
Results 1 to 3 of 3

How to open a website and click on a link and open the file to capy

  1. #1
    Forum Contributor
    Join Date
    09-30-2010
    Location
    Minnesota, USA
    MS-Off Ver
    Excel 2010
    Posts
    109

    How to open a website and click on a link and open the file to capy

    I am trying to open a website "http://transport.dot.state.mn.us/Reference/refItem.aspx" from excel and then click on a link there which will ask if I want to "open" "save" or "cancel", and I would click to "Open". It will open an excel file named "TrnsportItemList.xlsx" and sometimes "TrnsportItemList (1).xlsx" at which time I will copy the data and past into my excel workbook for reference.

    can anyone help?
    Last edited by CityMPLSEmpolyee; 04-12-2016 at 03:27 PM.

  2. #2
    Forum Contributor
    Join Date
    09-30-2010
    Location
    Minnesota, USA
    MS-Off Ver
    Excel 2010
    Posts
    109

    Re: How to open a website and click on a link and open the file to capy

    If this will help I do know how to open a website thru VBA

    Please Login or Register  to view this content.
    Also I have the copy a past figured out

    Please Login or Register  to view this content.
    What I need help with is how to click the Linked text Export To CSV on the MnDOT website.
    And then clicking on the Button Open that comes up after

  3. #3
    Forum Contributor
    Join Date
    09-30-2010
    Location
    Minnesota, USA
    MS-Off Ver
    Excel 2010
    Posts
    109

    Re: How to open a website and click on a link and open the file to capy

    I was having trouble posting this part of my reply above

    the Link text Export To CSV has this code attached to it

    j a v a s c r i p t : _ _ d o P o s t B a c k ( ' c t l 0 0 $ M a i n C o n t e n t $ L i n k B u t t o n 1 ' , ' ' )

    note I had to put a space between each character or this website would not let it be posted.
    so if you want to test it copy and remove all spaces.

    and then when you put it in the address bar of IE it will drop the "Javascript" & the ":_" part and give you a google search result.
    to get it to work I typed a "t" in the address bar then pasted the code then deleted the "t" and clicked enter, all on the MnDOT webpage noted earlier.
    Last edited by CityMPLSEmpolyee; 04-20-2016 at 08:49 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. how to click any link in a website and extracting the new link and text in our excel sheet
    By prahladsingh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-19-2016, 11:55 AM
  2. VBA to Extract to Excel the file from Website then Save and then Open
    By 200yrs in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-12-2015, 04:29 AM
  3. right click and open link on web page
    By JustinN1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-02-2014, 10:40 AM
  4. Open xls file via URL link, and automatically filter on a switch or value in the link?
    By linksavage in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-13-2013, 02:27 PM
  5. Replies: 14
    Last Post: 08-17-2012, 10:54 AM
  6. Replies: 3
    Last Post: 03-17-2009, 01:59 PM
  7. Replies: 2
    Last Post: 01-17-2006, 01:40 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