Hi Quinn.Farley,
Your error is caused by a typo.
Your x1Yes should be xlYes. You have a one instead of a lower case L.
In their not so infinite wisdom, the Microsoft people should have avoided the lower case L.
Your error is also caused by the lack of 'Option Explicit', which would have caught the error as a compile error.
It is a best practice to declare all variables. If you misspell a variable in your code, VBA will silently assume it is a Variant variable and go on executing with no clue to you that you have a bug. Go to the VBA development window, click Tools, Options, and check "Require Variable Declaration." This will insert the following line at the top of all new modules:
This option requires all variables to be declared and will give a compiler error for undeclared variables.
Lewis
Bookmarks