As it may be difficult to explain how to use the code, I am sending a sample ppt file with two slides. On one slide I have used Text Boxes which are part of shapes (you insert them by Insert>Text Box menu), and on the second one I have use Active X Text Boxes (from the Developer Tab tool box).
As you can see, both have advantages and disadvantages. But once you write proper code, Active X Text boxes are more user friendly.
To view code, press Alt+F11, and select the appropriate slide from the Project Explorer window.
To see the code work, view the slides in slide show mode or the Reading View mode.