key frames for shape change

ok, i know how to add keyframes when something is changing shape, size, and location, but how do you do it when something is changing shape. (i have a sphere that is being deformed by a lattice)

go into lattice edit mode, deform, hit IKEY>>lattice