Sorry, but another question about slow macro's. I've read a lot of threads about it but cannot figure out what I'm doing wrong here.
This macro will check a large cost estimate for empty line items. If no quantity is calculated, the line item is hidden. Also if a heading has no line items at all, the heading (incl. subtotal) is hidden as well. So far, this works. However if a cost estimate has several hundred line items and a couple of dozen objects (worksheets) it takes a very long time.
Maybe somebody has some advice to improve this macro? Maybe the 'case' statement instead of 'if end if'?
The code with ?????0 knows what a line item is. They always have 6 digits and a zero at the end.![]()
Please Login or Register to view this content.
Thank you in advance.
Erik
Bookmarks