You are welcome.BINGO!!! We have a winner! Finally got it to work. Thank you so very much for all of your expertise!
It was user error. I needed to move my data to Sheet1 and rename it. I'm sure there was a work around in the code but I don't know how to do that.You are welcome.
So what ended up being the issue?
It is helpful for us to know, for future reference, so we know what kind of things can happen and what suggestions to make.
You could simply just change the name of the sheet in the code in the line that assigns the sheet name to "ws1".It was user error. I needed to move my data to Sheet1 and rename it. I'm sure there was a work around in the code but I don't know how to do that.
Set ws1 = Sheets("Sheet1")