I am using QGIS 1.8.0 (using older version because I need the Qmarxan plugin which is not available for 2.4.0). I have a study area that has a vector laying of "planning units", or cells over the top (several thousand cells). Each planning unit has an individual ID and a couple of other fields in the attribute table. I then have a vector point layer with 8 points (ranger stations).
I need to calculate the distances from the centre of every cell to the nearest point, and have this as a new column in the attribute table. Later, I will need to do the same calculation but from the centre of each cell to the nearest road.