+ Reply to Thread
Results 1 to 4 of 4

Internet Explorer and VBA : Open, Save and Cancel Dialog Box

  1. #1
    Forum Contributor codeslizer's Avatar
    Join Date
    05-28-2013
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2003 - 2010
    Posts
    245

    Internet Explorer and VBA : Open, Save and Cancel Dialog Box

    Hi there Guys,

    Am stuck up with a situation where am having a small dialog box with no title and asking, "Do you want to open or save <filename> (<size>) from <url>". Attached is the screenshot of it. I found a link which initially sounded like it'll make it work.. but ended up returning 0.

    My objective : Am trying to automate a process of downloading files from CITRIX environment. As of now, am able to get to the application and have been able to launch it through XL VBA but when launching, am being prompted with this dialog box where I just need to hit on Open button in the dialog box through VBA again to proceed further..

    My version of IE is 10. Any ways to hit Open button through VBA on that dialog box? Any helps will be appreciated.
    Attached Images Attached Images
    cOdEsLiZeR - Back after a long break.. Let's sLiZe some more cOdEs!!

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Internet Explorer and VBA : Open, Save and Cancel Dialog Box

    I had a similar problems, that I worked around using 'SendKeys'. I imagine there's a better way, and maybe someone else has a better solution. The problem with 'SendKeys' is that there is no feedback to indicate a task has been completed, so that you have to allocate more 'Wait time' than the task WILL EVER take.

    First determine what keystrokes you need to navigate through the web site. Then implement something like the following code excerpt:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    10-12-2010
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Internet Explorer and VBA : Open, Save and Cancel Dialog Box

    Having the same problem and looking for a non-sendkeys solution. It's disappointing that Microsoft does not make this readily available via VBA

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,890

    Re: Internet Explorer and VBA : Open, Save and Cancel Dialog Box

    @TASRE

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    New threads not only open you up to all possible participants again, they typically get faster response, too.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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 do I open with Chrome and not Internet Explorer?
    By walterscj in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-10-2013, 11:13 AM
  2. VBA to control Internet Explorer to open files
    By rugbykorn in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-28-2013, 04:15 PM
  3. Open internet Explorer and change settings
    By thadeus in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-17-2012, 07:16 AM
  4. Save dialog box cancel
    By Directlinq in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 06-19-2009, 06:10 PM
  5. internet explorer not able to open site
    By Shelly in forum Excel General
    Replies: 1
    Last Post: 03-30-2006, 08:44 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