"Automating Word document for different versions of Word"

  • Thread starter Thread starter alanbr
  • Start date Start date
A

alanbr

I am developing an app (in VB 2008) that will open a Word template,
populate some bookmarks, save the document as a Word document and then
allow the user to access the Word document and add their own info.

My problem is I don't know now (while I'm developing the app) what
versions of Word the user will use - they have a mixture of Word
versions (2002, 2003, 2007) so how do I develop for them all - I
understand I must have a reference to the Word library but I don't
know which one(s).

Any help will be gratefully received.

Regards and Thanks
Alan
 
alanbr said:
I am developing an app (in VB 2008) that will open a Word template,
populate some bookmarks, save the document as a Word document and then
allow the user to access the Word document and add their own info.

My problem is I don't know now (while I'm developing the app) what
versions of Word the user will use - they have a mixture of Word
versions (2002, 2003, 2007) so how do I develop for them all - I
understand I must have a reference to the Word library but I don't
know which one(s).

Any help will be gratefully received.

Regards and Thanks
Alan
.

My experience is that if you target 2002, they are upwardly compatible, ie,
the code should work fine with 2003/2007. If you target earlier versions
such as 97, then there seem to be more issues...

Mike
 
Back
Top