|
-
February 13th, 2000, 09:17 PM
#1
VB upgrade
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|