We investigate the phenomenon of multilayer formation via layer-by-layer deposition of alternating charged polyelectrolytes. Using mean-field theory, we find that a strong short-range attraction between the two types of polymer chains is essential for the formation of multilayers. For strong enough short-range attraction, the adsorbed amount per layer increases (after an initial decrease), and ...