How To Select "Save As" From IE Download Dialogue Box Using VBA

JoshuaKC29

New Member
Joined
Apr 20, 2019
Messages
10
I realize that there are more efficient ways to obtain files from websites using VBA but I really want to figure out how to control the Dialogue Box that pops up when a user is trying to download a file.

To be more specific, I want to select "Save As" and set the file destination.





The download URL is unavailable to me - I'm still working on learning other methods of obtaining the URL. I'm hoping that for the time being someone can assist me in figuring out how to accomplish this task.

I only started learning excel and VBA about a year ago (excel a year ago, VBA six months). So I'm quite new. I apologize in advanced if I am being difficult as I may not understand all the information you're relaying to me. I've mostly been teaching myself through trial and error (looking at code works, erasing line by line to see what happens, making small changes, etc.) I've only recently started to read up on VBA by looking at tutorial videos and reading through forum posts.
 

Some videos you may like

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

JoshuaKC29

New Member
Joined
Apr 20, 2019
Messages
10
Thank you!

Just got back from the Easter holidays, going to look into using the code now. Was trying to replicate the scenario I was having at my office on my home computer and finally figured out a way to accomplish the task. I'll let you know how it goes.
 

John_w

MrExcel MVP
Joined
Oct 15, 2007
Messages
6,308
I tried to reply to your PM, but it bounced. You need to do something with your account to allow it to receive Inbox messages.
 

JoshuaKC29

New Member
Joined
Apr 20, 2019
Messages
10
Thanks John,

I noticed. I’ve been trying to figure out why my inbox is full when it is empty. Initially thought I might have forgotten to register but this was not the case.

EDIT:

I should be able to receive PMs now. I was restricted to sending / receiving one message at a time. According to another user new users are limited to the number of messages they can send/receive. So sorry for the inconvenience! I wasn’t aware of the restrictions.
 
Last edited:

Watch MrExcel Video

Forum statistics

Threads
1,101,997
Messages
5,484,100
Members
407,430
Latest member
sgoldman

This Week's Hot Topics

  • Finding issue in If elseif else with For each Loop
    Finding issue in If elseif else with For each Loop I have tried this below code but i'm getting in Y column filled with W005. Colud you please...
  • MsgBox Error
    Hi Guys, I have the below error show up when i try and run my macro in File1 but works fine if i copy and paste the same code into file2. [ATTACH...
  • CELL FORMAT - IF CONDITION
    My Cell Format is [B]""0.00" Cr". [/B]But in the cell, it is showing 123.00 for editing. (123 is entry figure). (Data imported from other...
  • Show numbers nearly the same
    Is this possible. I have a number that can change very time eg 0.00001234 Then I have a lot of numbers 0.0000001, 0.0000002, 0.00000004...
  • Please i need your help to create formula
    I need a formula in cell B8 to do this >>if b1=1 then multiply ( cell b8) by 10% ,if b1=2 multiply by 20%,if=3 multiply by 30%. Thank you in...
  • Got error while adding column and filter
    Got error while adding column and filter In column Z has some like "Success" and "Error". I want to add column in AA if the Z cell value is...
Top