The same thing happened with Maverick. Some tips our trainers had us working at:
Keep him on leash when visitors come. Have everyone ignore him until he calms down. This one was always easier said than done, especially with a full grown excited Labrador.
Teach your dog "find it". When guests come and while on a leash, drop some treats on the floor and tell him to "find it". This didn't work particularly well for us as Maverick likes people more than food.
When out and about, practice NOT letting him greet other dogs or people. We rarely let Maverick get pets from other people or dogs on walks. I always tell him they don't want to pet him. I usually go off to the side of the sidewalk and make him wait. We start moving after the person and/or dog has passed. He needed to learn restraint, self control, and that not everything was about him. This has helped quite a bit, but not as much in the house.
Lastly you could crate him for the first few minutes a visitor is there. Just long enough to get the initial crazies out. We admittedly do this sometimes, especially if elderly or young kids or large groups of people are over.
Good luck. Just remember being too friendly is way better than being too mean!
Sent from my iPhone using Tapatalk