Hi AB33:
I have tried with your instruction, still same result...excel closes/crashes.
It looks like its something to do with VLOOKUp, since part of the Vlookup table is erased.
I need to try something and need your help.
Look at the your code below:
Here the line :
will be pasted at the end of previously stored data.
I need overwritten.
The max overwritten will be 30 rows.
Lets say you have 4 employees with Net Pay >0 then those 4 records will start from "Sheet2", B1,B2,B3,B4.
The other cell B5 thru B30 can be null.
I think overwrite will solve my problem of clearing the cells.
Let me know if you have any questions.
Thanks.
Riz
Bookmarks