I have a workbook with data indicating various conditions having been met. I use a 1 in the cell to indicate that the conditions have been met, and the cell is left blank if the conditions have not been met.
There are some situations which result in Circular Errors.
I want to use a macro to copy the data from one column to another, so that I can avoid the circular error, by having one formula check the original column, while another formula checks the copy.
If the workbook calculates and gives results in Column T, for example, I want to copy over the results from Column T into Column E.
How can I write the macro to allow for an expanding worksheet, when rows are added. I can write the macro so that Cells T31 to T520 are copied into cells E31 to E520, but how do I allow for a new row being entered at row 31, which would push the old row 31 down into row 32, and push the old row 520 down to 521 ??
Also, is there a way to write the macro to allow for the possibility of Columns being added or deleated ?? Perhaps using some variation of a MATCH command (matching the column headings for one possibiliby) ??
I want to have the data which is currently in Column T always be copied over into what is currently Column E. Even if columns are added or deleated I want the old Column T to be copied to the old Column E.
Any suggestions ??
Am I correct in thinking that this macro should be placed as Worksheet_Calculate ??
Thanks
StanSz
There are some situations which result in Circular Errors.
I want to use a macro to copy the data from one column to another, so that I can avoid the circular error, by having one formula check the original column, while another formula checks the copy.
If the workbook calculates and gives results in Column T, for example, I want to copy over the results from Column T into Column E.
How can I write the macro to allow for an expanding worksheet, when rows are added. I can write the macro so that Cells T31 to T520 are copied into cells E31 to E520, but how do I allow for a new row being entered at row 31, which would push the old row 31 down into row 32, and push the old row 520 down to 521 ??
Also, is there a way to write the macro to allow for the possibility of Columns being added or deleated ?? Perhaps using some variation of a MATCH command (matching the column headings for one possibiliby) ??
I want to have the data which is currently in Column T always be copied over into what is currently Column E. Even if columns are added or deleated I want the old Column T to be copied to the old Column E.
Any suggestions ??
Am I correct in thinking that this macro should be placed as Worksheet_Calculate ??
Thanks
StanSz