Small excel 2007 macro-enabled file takes 5 minutes to open on a fast computer, why?

hurricaneditka16

New Member
Joined
Oct 5, 2010
Messages
3
I have an unbelievably slow opening excel 2007 macro-enabled workbook that is only 950kb in file size. It’s got 2 worksheets, one is empty, and the other has about 1,000 records spanning 10 columns. The file also contains 3 short macros, one of them being a web data query. I’m trying to figure out why the file opens so slow (like 5mins). If it's the web data query macro code, I would like to know why.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
If it's the macros, then the size of the data file doesn't matter much.
I think you're headed the right direction with the web-query.
[Could track the date-time-stamp just before the web-query kicks off and just after it completes to verify it's duration.]
What happens when it opens without the macros?
As to 'why?'...that will be tough.
Could depend on the load of the web-server at the time, network traffic or any of a 1000 other things.
 
Upvote 0
the web query doesn't run on file open. no macros run upon the file opening. not sure if that's what you're saying.

thanks for the response.
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,906
Members
452,366
Latest member
TePunaBloke

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