Had a similar issue at my friends place and we took off a lot of the wooden floor boards and replaced them as they were also chewed up by the woodworm, with the joists we painted them with the Cuprinol as they didn't seem as bad as the floor boards themselves..
Should be fine for the next...