>Isn't there a program that will take an esxisting word document including its tables and covert them into foxpro code that will then be able to create the same document.
OK, now I see what you want.
No, I am not aware of any program that does all this. Unless you find something, you will have to analyze the document piece-by-piece yourself, and create the automation commands.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)