+ Reply to Thread
Results 1 to 3 of 3

How to interact with a "Browse for file..." pop-up window on a webpage?

  1. #1
    Forum Contributor
    Join Date
    09-20-2012
    Location
    Norge
    MS-Off Ver
    Excel 2007
    Posts
    114

    How to interact with a "Browse for file..." pop-up window on a webpage?

    I made a macro that opens IE to a specific url and I want it to automatically upload a copy version of the current workbook where the macro is run from. This is normally done manually by clicking on a "Browse" button on the webpage which again opens a Browse for file window. Here you select a file or type the file path and click the button "OK". By the way i notice that this Browse for file windows is a built in OS window because if I do it on a mac it opens Finder.

    Now, I can get the macro to do everything automatically up until the Browse window is opened, and then I loose all control. I have been trying to use the Sendkeys ("^v") to paste the path of the current workbook and then Sendkeys ("ENTER") to close the browse window again and select that file. These send keys do nothing. The strange thing is that if I just hit these key combinations on the keyboard manually then it pastes and click "OK".

    Does anybody know how to fix this?

    Please do ask for any information that you might need.


    Skjermbilde 2013-11-29 kl. 14.28.42.jpg

    Below you will find the relevant HTML code from that webpage (cannot give the page url as you would need a account):

    HTML Code: 
    And here is my macro:

    Please Login or Register  to view this content.
    Last edited by tnuis; 11-29-2013 at 10:42 AM.

  2. #2
    Forum Contributor
    Join Date
    09-20-2012
    Location
    Norge
    MS-Off Ver
    Excel 2007
    Posts
    114

    Re: How to interact with a "Browse for file..." pop-up window on a webpage?

    Nobody who knows this?

  3. #3
    Forum Contributor
    Join Date
    09-20-2012
    Location
    Norge
    MS-Off Ver
    Excel 2007
    Posts
    114

    Re: How to interact with a "Browse for file..." pop-up window on a webpage?

    Anyone?

    Is this too complicated or do I explain it to bad...... Please do tell me.

+ 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. Bypassing the VBA IE Input Type = "File" Window - Somehow
    By piyushdabomb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-07-2013, 07:52 PM
  2. VBA - IE - click on "Open" in an internet explorer "file download" window
    By victoire in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-22-2013, 07:08 AM
  3. Click "Export" on a webpage is not bringing up File Download box
    By CJK in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-30-2012, 06:45 PM
  4. Click "Export" on a webpage is not bringing up File Download box
    By CJK in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-26-2012, 05:25 PM
  5. How to change the font of Display window of "Open File"
    By Windows Font in forum Excel General
    Replies: 0
    Last Post: 01-05-2006, 11:15 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