Click to See Complete Forum and Search --> : VB upgrade


February 13th, 2000, 08:17 PM
I am trying to update an old application to use Office 2000 (the app now uses Office 95).
There is a VB program that used OLE Automation to open word search for a bookmark and replace it with a value.
Set gWordobj = CreateObject("Word.Basic")
gWordobj.EditGoTo "tokenValue"
gWordobj.Insert "1123"

This does not work with Office 97 or Office 2000
I think I need to change the object instantion to
Set gWordobj = CreateObject("Word.Application")
but I am not sure where from here.
Any help would be appreciated.