Importing data from multiple worksheets

Sissyfoo

New Member
Joined
Oct 7, 2005
Messages
26
Hello again.

I'm building a master report sheet and everything seems to be working fine (for a change). Currently the master report calls a macro when opened that opens 5 workbooks in the folder below it and imports data from the textboxes within and then closes the workbooks without saving them. The problem that I am having is that each of these workbooks are about 1.3mb in size and opening all 5, importing the data and then closing them again is taking up a fair bit of time (~40 seconds). I am using the application.screenupdating = false to speed things up a bit but it is still taking a fair bit of time and as I haven't even finished coding in the rest of the updating I a bit worried that by the time the uber-director has actually managed to open his master report humanity will be extinct and the ants will have taken over. Is there a way to speed things up a bit? Would it be better if I tried to import the data without actually opening the workbooks?

Any tips would be greatly appreciated.

Ta,

James
 

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
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,113
Messages
5,835,456
Members
430,357
Latest member
Greshapa

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
Top