I've had my yorkie for about 5 months now. When I first brought him home, when we would leave we I would put him in a small crate. EVERY TIME I would leave the house, no matter how long it was when I came home there was always poop and pee all over it. He seemed to smear the pop all over the place and even on the sides of the crate. I got soo tired and fed up with cleaning the darn crate. I finally told my husband I was going to buy him a playpen. He insisted that it wouldnt work because it was a bigger area and that would make room for more messes and he would tear through the sides and tear the mesh sides. Well I decided I would buy it anyways because I figured he'd like to have more room to play with his toys anyways. It was a miracle!!! The playpen worked. I bought the kind with the mesh zip top, when I leave him I have to zip the top because he can jump out of it. The bottom has velcro so if there is a mess then you just un-velcro it and hose it off if it's bad, so much easier than those darn crates i've found. Well he doesnt pee or poop in it at all. The only thing I could think of is he hated such a small area. I dont know but it worked for me. Plus he loves the playpen and even plays with all his toys in it even when we are all home he will go in there by himself and jump around

I hope you find a solution because I know how tired of this I got! Hope this helps