I would either not let them in the office, unless that would cause constant whining and door scratching by the dogs, which might be even worse, even more annoying, than the barking, or get some of those little disposable foam earplugs at the drug or hardware store. They’re comfortable and might give your ears enough protection. Or get a pair of those industrial strength headphone type hearing protectors that the guys who operate loud machinery or guide airplanes to the terminals use. With those on you won’t hear a thing.