It's hard to know what might be special about the notebook where this doesn't work. What kind of notebook is it? Do you see the problem if you restart Mathematica?