The spray bottle has really worked for us here.

That is how we taught Piccolo, when she was a puppy, to leave things alone on the coffee table, especially food. Now she totally ignores anything on that table. Sometimes I use it outside, if she is barking at the neighbor's dog. If she sees it, she stops.