hole in the wall
Don't know. Just be sure to use the LOW expandable foam, not the HIGH expandable foam. ANd if there's anything 'around the hole, like a window or a door, be sure you don't over-do the spraying. If you do, neither may open, or close due to the expansion.
If they eat through the foam, go to plan B. You didn't say what material the hole was made in.
My best to ya and hope this helps.
Jay J -Moderator
PS: God Bless America!