Solved

Inserting text into Word 97

Posted on 1998-10-14
1
123 Views
Last Modified: 2012-05-04
I am trying to create a vb module that will insert data into a word document that has bookmarks embedded in it.
In the vb4 microsoft course notes it says that you should be able to use the wd.editgoto "bookmark" method to position the cursor at the bookmark. However, in word 97 this does not work.  What can I do ?
0
Comment
Question by:proberts082697
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 6

Accepted Solution

by:
clifABB earned 300 total points
ID: 1439877
the editgoto was replaced with GoTo wherein you specify what

Try this (replace BM1 with the name of your bookmark):
  wdDoc.GoTo What:=wdGoToBookmark, Name:="BM1"

Or to go to the 4th bookmark, use this:
  wdDoc.GoTo What:=wdGoToBookmark, Count:=4
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question