1. load Word 2. turn on macro recording 3. do what I want to do 4. read the macro to see how it is done in code 5. translate the macro code from VB to VFP.