Yorkies have the reputation for being hard to house break- you are not alone!!!! Check out the training forum there is like 6 million potty-training threads, lol.
Best advice:
Small spaces
constant supervision
lots of praise when it happens outside
consistency consistency consistency
cath em in an accident say NO loudly and grab em and run outside and say potty
good luck