That was my issue. I had the code in ThisWorkbook rather than in Module1. Thanks so much for your help!!!