The excitation of the 1+, 2− and 3+ modes in 16O, 22O, 24O, 28O, 40Ca, 48Ca, 52Ca and 60Ca nuclei is studied with self-consistent random phase approximation calculations. Finite-range interactions of Gogny type, containing also tensor-isospin terms, are used. We analyze the evolution of the magnetic resonances with the increasing number of neutrons, the relevance of collective effects, the need of a correct treatment of the continuum and the role of the tensor force.