VBA code to save files

superfb

Active Member
Joined
Oct 5, 2011
Messages
255
Office Version
  1. 2007
Platform
  1. Windows
Hi guys

Is there a way to link an excel spreadsheet to a website?

Each case I work on has different dates. This tells me how many reports I need to download from a company internal website.

When I go on the company website, I select the report and use cute pdf to save this file on the hard drive I then go to the next report. Doing this manually takes a long time, would like to pick someone's brain if there's an easier method.

Bare in mind some cases gave reports from 2000 to 2019. Where for example I may just require 31/05/2009 to 07/07/2015.

I know if I press the middle button on the mouse it opens another window with the report showing, whilst the internal website remains on list of reports.

I hope my explanation makes some form of sense and somebody out there can shed some light

Thanks
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Upvote 0
Hi

Thank you for supplying the material. Really appreciate the time taken out to send it.

I'm quite an advance user with Excel, but I have basic knowledge of VBA.

I read the link you sent.....instead of using IE can I link it to Google Chrome. And programme the VBA to go through the links one by one as each report is a hyperlink. Then print them and save it in the directory for each report.


Google Chrome

Search company name

Credit report date
Cva 06/06/2019
Csa. 05/06/ 2019
Midd. 03/03/2015


I need the reports from 01/01/2019 to 31/12/1984

saved in 20090606 and 20190605

I have macro that can assist in creating the folders.

Would appreciate your thoughts ( hope that was clearer)
 
Upvote 0

Forum statistics

Threads
1,224,816
Messages
6,181,143
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top