Help please - Open report on network drive and copy paste contents to sheet

Status
Not open for further replies.

roberttkim

Board Regular
Joined
Mar 5, 2009
Messages
97
Hi Excel experts and happy holidays. I need some help and would really appreciate it. I have an report that is saved as .html format on a network drive let's just say the path is //network/reports/trialbalancereport123119.html. I would appreciate it if someone could share a VBA code to open the file based on the network drive location which doesn't change but a file name that is composed of "trialbalancereportMMDDYY.htlml where the MMDDYY comes from a cell value in sheet Control. The VBA should open the file and copy all contents into sheet named report.

Really appreciate all you experts on this forum.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Status
Not open for further replies.

Forum statistics

Threads
1,214,979
Messages
6,122,551
Members
449,088
Latest member
davidcom

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