RockandGrohl
Well-known Member
- Joined
- Aug 1, 2018
- Messages
- 801
- Office Version
- 365
- Platform
- Windows
Hi all,
I have a sheet that has a large userform with many controls & updating text boxes on it. There's 4 criteria boxes with 7 rows of labels, checkboxes & text boxes on them. When a button is pressed, a large database is filtered down using Advanced filter to produce a list of clients that match the criteria entered on any one (or combination) of the 4 criteria boxes.
The trouble is that for some reason, when I add multiple lines of criteria the database is filtered correctly, the determined information is calculated properly but the Userform takes a lot longer to re-appear on screen and is updated piece-by-piece. Then, once the userform is fully back on screen, it is frozen and I can't close it or click on any text boxes etc. It also freezes Excel and I need to close it from Task Manager.
In Task Manager, I can it is consuming 22% of CPU usage continually, and it never stops unfreezing.
This sheet is a duplicate of another sheet that runs in an almost identical way, except that sheet has twice as many rows in the database file. So I can't understand why the original file runs superbly yet the new one freezes when the Userform is re-displayed.
Can anyone help please?
I have a sheet that has a large userform with many controls & updating text boxes on it. There's 4 criteria boxes with 7 rows of labels, checkboxes & text boxes on them. When a button is pressed, a large database is filtered down using Advanced filter to produce a list of clients that match the criteria entered on any one (or combination) of the 4 criteria boxes.
The trouble is that for some reason, when I add multiple lines of criteria the database is filtered correctly, the determined information is calculated properly but the Userform takes a lot longer to re-appear on screen and is updated piece-by-piece. Then, once the userform is fully back on screen, it is frozen and I can't close it or click on any text boxes etc. It also freezes Excel and I need to close it from Task Manager.
In Task Manager, I can it is consuming 22% of CPU usage continually, and it never stops unfreezing.
This sheet is a duplicate of another sheet that runs in an almost identical way, except that sheet has twice as many rows in the database file. So I can't understand why the original file runs superbly yet the new one freezes when the Userform is re-displayed.
Can anyone help please?