How to Save an Opened PDF file to the drive

Shallo9

Registered User.
Local time
Today, 01:58
Joined
Nov 11, 2011
Messages
95
Hello All,

Once again I am struck.

I've got a form in access which (When submit button is clicked) submits the form's data to a website which inturn generates a pdf file (Which gets opened in a separate tab (of IE)).

I want to save this pdf file somewhere on the drive. I've looked for at different places for help on this but mostly the pdf is created and then saved. In my case the pdf is created by the website, all i need is to save it on to my drive. (However, the point to be noted is this pdf is opened in a separate tab)

Any help would be much appreciated.

Many thanks
 
Additions:

I've managed to close the current tab once the pdf is opened in a new tab by using
Code:
Start = 0
StopTime = 5000000
   While Start < StopTime
      Start = Start + 1
   Wend
ie.Quit

The pdf file pops up with a file download dialogue box with three buttons Open,Save & Cancel. How can I Save this file to a hard drive and open it.

Please shed some light on this.

Code:
SendKeys "^" & "{tab}", 10

the above code switches to the next tab(pdf file tab)
Many Thanks
 
Last edited:

Users who are viewing this thread

Back
Top Bottom