Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Alma Austin   on Oct 29 In MS Office Category.

  
Question Answered By: Sebastian Anderson   on Oct 29

This code  examines a sales order on sheet1  to determine which package to
un-hide on sheet13. Sheet13 is a purchase order and the start and end  of
each package is marked with a tag in the first column, i.e. <1lane> and
</1lane> for the start and end respectively of that package. The code hides
all the lines for packages that are not ordered, and un-hides the lines for
the ordered package, i.e. everything between stag and etag.

At first I thought it was the whole trying to examine data in hidden  rows
thing, so I tried manually un-hiding all of the rows and running  it, still
slow. If I hide all of them, save the workbook, close  Excel and then reopen
the workbook, even with the rows hidden it runs in just a few seconds the
first time, but slows down after that. This exercise was to rule out the
possibility that the hidden rows were causing the issue.

Share: 

 

This Question has 10 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Code slows down after running once Or get search suggestion and latest updates.


Tagged: