this week she is playing in Rome. No matter how she does, it will count towards her ranking. You can see here, which tournaments in the past 52 weeks she has played and how well she did: http://www.hantuchova-fan.com/azarenka-fan/Points.php
Berlin 2008 will come off as Rome 2009 points are added, and as Vika doesn't play many tournaments a year, she doesn't have any back-up tournaments.
Next week is Madrid which is mandatory. Rome 2008 points will fall off as they get "too old".
Vera is at 5400 points when the next ranking comes out.
If Vika loses in the R16, Vika is at: 4846
If Vika loses in the QF, Vika is at: 5066
If Vika loses in the SF, Vika is at: 5466
If Vika loses the final, Vika is at: 5966
If Vika wins Wimbledon: 6566
So Vika needs a SF at least to pass Vera.
Wozniacki is close to Vika. Only 66 points or something like that behind her, so if Caro advance one round or more better than Vika, Vika and Caro will shift places in the rankings.
The gap between 7 and 8 is rather big unfortunately so she needs good results to advance in the rankings. But only Wozniacki is close from behind. The gap to Petrova at 10 is big.