I've HEARD to ignore the dog when you come in. If he's loose in the house when you come home ignore him (don't push him off, don't say no. Nothing) and wait til he calms down to say hello. Or if he's created wait til he calms down to let him out and say hello.
I could be way off..but just what I've heard/read. Others will be able to give you expert advice.