Limit on number of comments in a worksheet

D

dyowee

Good day!
I've written a macro that validates the cell values in a worksheet, and
writes the error messages as comments in each cell. The problem I'm having is
that if there are too many rows (at least 2000) and too many errors, writing
all those comments make Excel slow and the memory usage very high (at least
200MB), and causes "Excel cannot complete this task with available
resources...". Why is this so? Is there any workaround for this?

Thank you very much.
 
G

Gary''s Student

Consider using an audit sheet. As your macro validates values on your data
sheet, have it record the row/column id of error records an the audit sheet.
It can even change the background color of cells on the data sheet to help
visually see where the problems are.
 
D

dyowee

What is an audit sheet? =)

Gary''s Student said:
Consider using an audit sheet. As your macro validates values on your data
sheet, have it record the row/column id of error records an the audit sheet.
It can even change the background color of cells on the data sheet to help
visually see where the problems are.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top