You can have a macro chop off the exceeding characters immediately after the
entry is done. 30 first, 30 last ? But you can do absolutely nothing while
people enter into cells or control which kinds of entries cells accept., and
you can not guarantee that macros are enabled to run by the user.