Allocation to projects

I have recently set up projects for a client. Some transactions have already been entered into the system. Is there a way to bulk allocate posted transactions to a project, without opening each one up individually and allocating.