sounds like you saved it at home, and on a later version of Excel. If so, trying to use it on an earlier version can cause this. I don't know what the fix is, however, other than stripping the code out and reinserting it into a copy of the workbook that has not been saved in the later version.