Coby seems to go through spurts of "happy barking" (and I totally understand the "you should be proud of me for barking look" too!!).
We use a spray water bottle and "no". It usually stops it pretty quickly .... at least until the next "piece of lint on the floor" catches his fancy!