If the code is to be used locally, i.e., you are not concerned about protecting the source from prying eyes, then initially do it all in VBA from within Office itself, nothing additional to purchase.

After you (are near finished with the VBA, it's gonna take a long time), you could then consider whether you wish to automate Word via VB 6 or one of the .NET languages.