Stuart Beavon grabbed a last-minute winner for Wycombe against fellow strugglers Chesterfield.
The Spireites took an early lead when Craig Westcarr's low cross was converted by Dean Morgan.
Anthony McNamee grabbed the leveller for the Chairboys after the ball broke to him following a goalmouth scramble.
Morgan put the visitors back ahead after bad defending but Marcello Trotta equalised with a 20-yard strike and Beavon headed home at the death.
VIEWS FROM THE DRESSING ROOM
Wycombe manager Gary Waddock told BBC Three Counties Radio:
"I feel much better this week than I have done in recent weeks. It was an important result for us and a very important three points.
"A lot of people behind the scenes have played a part in what we have done this week, to get this important result.
"We needed the three points after the horrendous run we have been on. We now have to build on it. We have to make sure we put in performances like today because the players kept us going."
Chesterfield manager John Sheridan told BBC Radio Sheffield:
"Again, really disappointed with the result. We had a great opportunity to get something from the game after leading twice.
"When it was 2-1 I was quite happy with the way we were playing. I thought we could have even, if we had done the right thing at the right time, got a third.
"I knew it was going to be a tough game. We're obviously in a similar position, but I think we're as good as any team in the division going forward. I really do. But when we're defending I'm really worried."