I have gotten it working agian. our original post got me thinking, and I
realized that what had changed was that the code was tied my "Matrix" worksheet
when I added it to the real workbook; before it was just in a module in the
workbook. I took the code out of the button, code sheet and instead put it back
into a public module, which I then call from the button code sheet. It works
like a charm now!!